Update partner_extended.xml
This commit is contained in:
parent
ae7b4f0333
commit
136e001965
|
|
@ -189,7 +189,7 @@
|
|||
|
||||
<xpath expr="//div/h1" position="replace">
|
||||
<h1 class="o_addressformat">
|
||||
<div class="o_address_row"
|
||||
<div attrs="{'invisible': [('company_type', '!=', 'company')]}" class="o_address_row"
|
||||
style="display: flex; justify-content: space-between;"> <!-- Title Field on the Right -->
|
||||
<div style="flex: 1;" class="o_address_state">
|
||||
<field widget="selection" name="title" placeholder="Title"
|
||||
|
|
@ -197,6 +197,23 @@
|
|||
attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
||||
</div>
|
||||
|
||||
<!-- Name Field on the Left -->
|
||||
<div style="flex: 1; text-align: left;" class="o_address_zip">
|
||||
<field name="name" default_focus="1" placeholder="e.g. Lumber Inc"
|
||||
attrs="{'required': [('type', '=', 'contact'), ('is_company', '=', True)],
|
||||
'invisible': [('is_company','=', False)]}"/>
|
||||
<field name="name" default_focus="1" placeholder="e.g. Brandon Freeman"
|
||||
attrs="{'required': [('type', '=', 'contact'), ('is_company', '=', False)],
|
||||
'invisible': [('is_company','=', True)]}"/>
|
||||
</div>
|
||||
</div>
|
||||
<div attrs="{'invisible': [('company_type', '=', 'company')]}" class="o_address_row"> <!-- Title Field on the Right -->
|
||||
<div attrs="{'invisible': [('company_type', '=', 'company')]}">
|
||||
<field widget="selection" name="title" placeholder="Title"
|
||||
options="{'no_quick_create': True}"
|
||||
attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
||||
</div>
|
||||
|
||||
<!-- Name Field on the Left -->
|
||||
<div style="flex: 1; text-align: left;" class="o_address_zip">
|
||||
<field name="name" default_focus="1" placeholder="e.g. Lumber Inc"
|
||||
|
|
|
|||
Loading…
Reference in New Issue