Browse Source

[UPD] Hide the firstname in kanban view

The name field contains the firstname and the lastname, Don't display firstname field once again
pull/79/head
EL HADJI DEM 10 years ago
parent
commit
114d2c87c1
  1. 6
      base_contact_function_partner_firstname/res_partner_view.xml

6
base_contact_function_partner_firstname/res_partner_view.xml

@ -64,12 +64,6 @@
<xpath expr="//field[@name='other_contact_ids']/form//label[@for='name']" <xpath expr="//field[@name='other_contact_ids']/form//label[@for='name']"
position="replace"/> position="replace"/>
<!-- Add firstname before name in templates view -->
<xpath expr="//t[@t-name='kanban-box']//div[@class='oe_kanban_details']/h4[@class='oe_partner_heading']//field[@name='name']"
position="before">
<field name="firstname"/>
</xpath>
</field> </field>
</record> </record>
</data> </data>

Loading…
Cancel
Save