Maxime Chambreuil
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
9 additions and
15 deletions
-
partner_fax/__manifest__.py
-
partner_fax/views/res_partner.xml
|
|
@ -5,7 +5,7 @@ |
|
|
|
'name': 'Partner fax', |
|
|
|
'category': 'Extra Tools', |
|
|
|
'summary': 'Add fax number on partner', |
|
|
|
'version': '11.0.1.0.0', |
|
|
|
'version': '11.0.1.1.0', |
|
|
|
'license': 'AGPL-3', |
|
|
|
'author': 'Francesco Apruzzese, ' |
|
|
|
'Odoo Community Association (OCA)', |
|
|
|
|
|
@ -6,11 +6,9 @@ |
|
|
|
<field name="model">res.partner</field> |
|
|
|
<field name="inherit_id" ref="base.view_partner_simple_form"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<data> |
|
|
|
<xpath expr="//field[@name='function']" position="after"> |
|
|
|
<field name="mobile" position="after"> |
|
|
|
<field name="fax"/> |
|
|
|
</xpath> |
|
|
|
</data> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
@ -19,11 +17,9 @@ |
|
|
|
<field name="model">res.partner</field> |
|
|
|
<field name="inherit_id" ref="base.view_partner_short_form"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<data> |
|
|
|
<xpath expr="//field[@name='function']" position="after"> |
|
|
|
<field name="fax" widget="phone"/> |
|
|
|
</xpath> |
|
|
|
</data> |
|
|
|
<field name="mobile" position="after"> |
|
|
|
<field name="fax"/> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
@ -32,11 +28,9 @@ |
|
|
|
<field name="model">res.partner</field> |
|
|
|
<field name="inherit_id" ref="base.view_partner_form"/> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<data> |
|
|
|
<xpath expr="//field[@name='function']" position="after"> |
|
|
|
<field name="fax" widget="phone"/> |
|
|
|
</xpath> |
|
|
|
</data> |
|
|
|
<field name="user_ids" position="before"> |
|
|
|
<field name="fax"/> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|