Merge pull request #749 from expsa/membership_task
Update partner_extended.xml
This commit is contained in:
commit
8560db3bd6
|
|
@ -186,11 +186,12 @@
|
|||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='title']" position="replace"></xpath>
|
||||
<xpath expr="//div/h1" position="replace">
|
||||
<h1 class="o_addressformat" attrs="{'invisible': [('company_type', '!=', 'company')]}">
|
||||
|
||||
<xpath expr="//div/h1" position="replace">
|
||||
<h1 class="o_addressformat">
|
||||
<div class="o_address_row"
|
||||
style="display: flex; justify-content: space-between;"> <!-- Title Field on the Right -->
|
||||
<div style="flex: 1;" class="o_address_state">
|
||||
<div attrs="{'invisible': [('company_type', '=', 'company')]}" style="flex: 1;" class="o_address_state">
|
||||
<field widget="selection" name="title" placeholder="Title"
|
||||
options="{'no_quick_create': True}"
|
||||
attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
||||
|
|
@ -207,23 +208,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</h1>
|
||||
<h1 class="o_addressformat" attrs="{'invisible': [('company_type', '=', 'company')]}">
|
||||
<div class="o_address_row"> <!-- Title Field on the Right -->
|
||||
<!-- Name Field on the Left -->
|
||||
<div>
|
||||
<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>
|
||||
</h1>
|
||||
</xpath>
|
||||
|
||||
|
||||
|
||||
<xpath expr="//page" position="after">
|
||||
<page groups="dev_membership.group_membership_user" name="memebership" string='Memebership'>
|
||||
<group>
|
||||
|
|
|
|||
Loading…
Reference in New Issue