sale_discount_approval_view.xml 1.2 KB

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_double_sale_configuration" model="ir.ui.view">
  5. <field name="name">Sale Application</field>
  6. <field name="model">sale.config.settings</field>
  7. <field name="inherit_id" ref="sale.view_sales_config"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//div[@name='Sale Features']" position="inside">
  10. <div>
  11. <div name="module_sale_discount_approval">
  12. <field name="module_sale_discount_approval" class="oe_inline"/>
  13. <label for="module_sale_discount_approval"/>
  14. <span class="oe_separate-from-text">
  15. <label for="limit_discount"/>
  16. <field name="limit_discount" attrs="{'required': [('module_sale_discount_approval','=',True)]}" class="oe_inline"/>
  17. </span>
  18. </div>
  19. </div>
  20. </xpath>
  21. </field>
  22. </record>
  23. </data>
  24. </openerp>