You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
593 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="view_res_partner_form" model="ir.ui.view">
  4. <field name="name">view.res.partner.form</field>
  5. <field name="model">res.partner</field>
  6. <field name="inherit_id" ref="base.view_partner_form"/>
  7. <field name="arch" type="xml">
  8. <xpath expr="//h1//field[@name='name']/.." position="after">
  9. <group attrs="{'invisible': [('is_company', '=', True)]}">
  10. <field name="can_call"/>
  11. </group>
  12. </xpath>
  13. </field>
  14. </record>
  15. </odoo>