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.

16 lines
705 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="view_users_form_simple_modif" model="ir.ui.view">
  4. <field name="name">Add technical features checkbox to user preferences form</field>
  5. <field name="model">res.users</field>
  6. <field name="inherit_id" ref="base.view_users_form_simple_modif" />
  7. <field name="arch" type="xml">
  8. <field name="company_id" position="after">
  9. <field name="technical_features" readonly="0"
  10. attrs="{'invisible': [('show_technical_features', '=', False)]}" />
  11. <field name="show_technical_features" invisible="1" />
  12. </field>
  13. </field>
  14. </record>
  15. </odoo>