Merge pull request #739 from expsa/membership_task

Update partner_extended.xml
This commit is contained in:
zainab2097 2024-08-14 19:29:46 +03:00 committed by GitHub
commit 4d8000ee11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 6 deletions

View File

@ -189,15 +189,14 @@
<xpath expr="//div/h1" position="replace"> <xpath expr="//div/h1" position="replace">
<h1 class="o_addressformat"> <h1 class="o_addressformat">
<div class="o_address_row"> <div class="o_address_row" style="display: flex; justify-content: space-between;"> <!-- Title Field on the Right -->
<!-- Title Field on the Right --> <div style="flex: 1;" class="o_address_state">
<div class="o_address_state"> <field widget="selection" name="title" placeholder="Title" options="{'no_quick_create': True}"
<field name="title" placeholder="Title" options="{'no_quick_create': True}"
attrs="{'invisible': [('company_type', '=', 'company')]}"/> attrs="{'invisible': [('company_type', '=', 'company')]}"/>
</div> </div>
<!-- Name Field on the Left --> <!-- Name Field on the Left -->
<div class="o_address_zip"> <div style="flex: 1; text-align: left;" class="o_address_zip">
<field name="name" default_focus="1" placeholder="e.g. Lumber Inc" <field name="name" default_focus="1" placeholder="e.g. Lumber Inc"
attrs="{'required': [('type', '=', 'contact'), ('is_company', '=', True)], attrs="{'required': [('type', '=', 'contact'), ('is_company', '=', True)],
'invisible': [('is_company','=', False)]}"/> 'invisible': [('is_company','=', False)]}"/>
@ -234,7 +233,10 @@
</xpath> </xpath>
<xpath expr="//field[@name='vat']" position="attributes"> <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="//field[@name='website']" position="attributes">
<attribute name="attrs">{'invisible':[('company_type','!=','company')]}"</attribute>
</xpath> </xpath>
<xpath expr="//div[@name='button_box']" position="inside"> <xpath expr="//div[@name='button_box']" position="inside">