res_users_view.xml 951 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <!-- Form -->
  5. <record id="view_price_security_users_form" model="ir.ui.view">
  6. <field name="name">price_security.users.form</field>
  7. <field name="model">res.users</field>
  8. <field name="inherit_id" ref="base.view_users_form"/>
  9. <field name="arch" type="xml">
  10. <notebook>
  11. <page string="Discounts Permissions">
  12. <field name="discount_restriction_ids" colspan="4">
  13. <tree editable="top">
  14. <field name="pricelist_id"/>
  15. <field name="min_discount"/>
  16. <field name="max_discount"/>
  17. </tree>
  18. </field>
  19. </page>
  20. </notebook>
  21. </field>
  22. </record>
  23. </data>
  24. </openerp>