Browse Source

Remove "Is a Company" in Contact Creation page

Contact creation is not a place to change Is a Company
pull/44/head
Sandy Carter 10 years ago
parent
commit
17f082a525
  1. 3
      partner_firstname/partner_view.xml

3
partner_firstname/partner_view.xml

@ -43,9 +43,8 @@
</xpath>
<xpath expr="//form[@string='Contact']/sheet/div/label" position="replace">
<div class="oe_edit_only">
<field name="is_company" on_change="onchange_type(is_company)" invisible="1"/>
<label for="name"/> (
<field name="is_company" on_change="onchange_type(is_company)" class="oe_inline"/>
<label for="is_company" string="Is a Company?"/>)
</div>
</xpath>
<xpath expr="//form[@string='Contact']/sheet/div/h1/field[@name='name']" position="attributes">

Loading…
Cancel
Save