合并企业版代码(未测试,先提交到测试分支)
This commit is contained in:
4
web_mobile/models/__init__.py
Normal file
4
web_mobile/models/__init__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from . import res_partner
|
||||
7
web_mobile/models/res_partner.py
Normal file
7
web_mobile/models/res_partner.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from odoo import fields, models
|
||||
|
||||
class Partners(models.Model):
|
||||
_inherit = 'res.partner'
|
||||
|
||||
# related for backward compatibility with < 13.0
|
||||
image_medium = fields.Binary(string="Medium-sized image", related='avatar_128', store=False, readonly=True)
|
||||
Reference in New Issue
Block a user