[FIX] res_partner: fixed display of simplified partner form view (image and fields display was messy)
This commit is contained in:
parent
9d50b47033
commit
6c5cde609e
|
@ -107,15 +107,15 @@
|
||||||
placeholder="Company"
|
placeholder="Company"
|
||||||
domain="[('is_company', '=', True)]" context="{'default_is_company': True}"
|
domain="[('is_company', '=', True)]" context="{'default_is_company': True}"
|
||||||
attrs="{'invisible': [('is_company','=', True)]}"/>
|
attrs="{'invisible': [('is_company','=', True)]}"/>
|
||||||
<group>
|
|
||||||
<field name="category_id" widget="many2many_tags" placeholder="Tags..."/>
|
|
||||||
<field name="function" placeholder="e.g. Sales Director"/>
|
|
||||||
<field name="user_ids" invisible="1"/>
|
|
||||||
<field name="email" widget="email" required="context.get('force_email', False)" attrs="{'required': [('user_ids','!=', [])]}"/>
|
|
||||||
<field name="phone"/>
|
|
||||||
<field name="mobile"/>
|
|
||||||
</group>
|
|
||||||
</div>
|
</div>
|
||||||
|
<group>
|
||||||
|
<field name="category_id" widget="many2many_tags" placeholder="Tags..."/>
|
||||||
|
<field name="function" placeholder="e.g. Sales Director"/>
|
||||||
|
<field name="user_ids" invisible="1"/>
|
||||||
|
<field name="email" widget="email" required="context.get('force_email', False)" attrs="{'required': [('user_ids','!=', [])]}"/>
|
||||||
|
<field name="phone"/>
|
||||||
|
<field name="mobile"/>
|
||||||
|
</group>
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
Loading…
Reference in New Issue