Browse Source

[IMP] Show first_name only for individual (for company show only last_name = name)

pull/1/head
Thibault Francois 9 years ago
parent
commit
cdc8929e5b
  1. 2
      beesdoo_base/views/partner.xml

2
beesdoo_base/views/partner.xml

@ -7,7 +7,7 @@
<field name="arch" type="xml" >
<field name="name" position="replace">
<field name="name" class="oe_read_only" />
<field name="first_name" placeholder="First Name" class="oe_edit_only" />
<field name="first_name" placeholder="First Name" class="oe_edit_only" attrs="{'invisible' : [('company_type', '=', 'company')]}"/>
<field name="last_name" placeholder="Last Name" class="oe_edit_only" default_focus="1"/>
</field>
</field>

Loading…
Cancel
Save