mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update common from yan
This commit is contained in:
@@ -7,7 +7,7 @@ from odoo.exceptions import UserError, ValidationError
|
||||
class ResCompany(models.Model):
|
||||
_inherit = 'res.company'
|
||||
|
||||
short_name = fields.Char('Short Name', related='partner_id.short_name', readonly=False, store=True)
|
||||
short_name = fields.Char('Short Name', related='partner_id.short_name', readonly=False)
|
||||
|
||||
# 当传参 show_short_name 时,只显示简称
|
||||
def name_get(self):
|
||||
|
||||
Reference in New Issue
Block a user