mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update partner_user and base chinese
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from . import base
|
|
||||||
from . import res_partner
|
from . import res_partner
|
||||||
from . import res_currency
|
from . import res_currency
|
||||||
from . import product_category
|
from . import product_category
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ class ResPartner(models.Model):
|
|||||||
_inherit = 'res.partner'
|
_inherit = 'res.partner'
|
||||||
|
|
||||||
name = fields.Char(index=True, translate=True)
|
name = fields.Char(index=True, translate=True)
|
||||||
name_en_US = fields.Char('English Name')
|
|
||||||
short_name = fields.Char('Short Name') # 简称
|
short_name = fields.Char('Short Name') # 简称
|
||||||
fax = fields.Char('Fax') # 简称
|
fax = fields.Char('Fax') # 简称
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
<!--</xpath>-->
|
<!--</xpath>-->
|
||||||
<xpath expr="//field[@name='type']" position="after">
|
<xpath expr="//field[@name='type']" position="after">
|
||||||
<field name="short_name"/>
|
<field name="short_name"/>
|
||||||
<field name="name_en_US"/>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
<!-- 信用额度 -->
|
<!-- 信用额度 -->
|
||||||
<xpath expr="//field[@name='category_id']" position="after">
|
<xpath expr="//field[@name='category_id']" position="after">
|
||||||
|
|||||||
Reference in New Issue
Block a user