Update partner_extended.xml
This commit is contained in:
parent
824a3e3633
commit
5efda2fc9c
|
|
@ -182,12 +182,15 @@
|
|||
<field name="inherit_id" ref="base.view_partner_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='vat']" position="attributes">
|
||||
<attribute name="atrrs">{'invisible':[('company_type','!=','company')]}"</attribute>
|
||||
<attribute name="attrs">{'invisible':[('company_type','!=','company')]}"</attribute>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//page[@name='sales_purchases']" position="attributes">
|
||||
<attribute name="groups">dev_membership.sale_purchase_tab</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='title']" position="replace"></xpath>
|
||||
|
||||
<!-- <xpath expr="//field[@name='title']" position="replace"></xpath> -->
|
||||
|
||||
<!-- Locate the 'name' field in the form -->
|
||||
<xpath expr="//h1/field[@id='individual']" position="before">
|
||||
<!-- Add the 'title' field next to the 'name' field -->
|
||||
|
|
@ -195,7 +198,7 @@
|
|||
options="{'no_quick_create': True}"
|
||||
attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
||||
</xpath>
|
||||
<xpath expr="//page" position="after">
|
||||
<xpath expr="//page" position="after">
|
||||
|
||||
<page group="dev_membership.group_membership_user" name="memebership" string='Memebership'>
|
||||
<group>
|
||||
|
|
|
|||
Loading…
Reference in New Issue