Browse Source

Put contact type under name and add label in edit mode

pull/45/head
Sandy Carter 10 years ago
parent
commit
0f05753fad
  1. 7
      base_contact/base_contact_view.xml

7
base_contact/base_contact_view.xml

@ -161,8 +161,11 @@
</group>
</page>
</page>
<xpath expr="//field[@name='child_ids']/form//field[@name='name']/.." position="before">
<field name="contact_type" readonly="0" on_change="onchange_contact_type(contact_type)"/>
<xpath expr="//form[@string='Contact']/sheet//field[@name='category_id']" position="before">
<group>
<label for="contact_type" class="oe_edit_only"/>
<field name="contact_type" readonly="0" on_change="onchange_contact_type(contact_type)" nolabel="1"/>
</group>
</xpath>
<xpath expr="//field[@name='child_ids']/form//field[@name='name']" position="after">
<field name="contact_id" on_change="onchange_contact_id(contact_id)" string="Contact"

Loading…
Cancel
Save