Update partner_extended.xml

This commit is contained in:
zainab2097 2024-08-14 14:53:27 +03:00 committed by GitHub
parent 824a3e3633
commit 5efda2fc9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 3 deletions

View File

@ -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>