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.

35 lines
1.5 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="view_exception_rule_confirm" model="ir.ui.view">
  4. <field name="name">Exceptions Rules</field>
  5. <field name="model">exception.rule.confirm</field>
  6. <field name="arch" type="xml">
  7. <form string="Blocked in draft due to exceptions" version="7.0">
  8. <group>
  9. <field name="exception_ids" nolabel="1" colspan="4">
  10. <tree string="Exceptions Rules">
  11. <field name="name"/>
  12. <field name="description"/>
  13. </tree>
  14. </field>
  15. <newline/>
  16. <field name="ignore" groups='base_exception.group_exception_rule_manager'/>
  17. </group>
  18. <footer>
  19. <button name="action_confirm" string="_Close"
  20. colspan="1" type="object" icon="gtk-ok" />
  21. </footer>
  22. </form>
  23. </field>
  24. </record>
  25. <record id="action_exception_rule_confirm" model="ir.actions.act_window">
  26. <field name="name">Blocked in draft due to exceptions</field>
  27. <field name="type">ir.actions.act_window</field>
  28. <field name="res_model">exception.rule.confirm</field>
  29. <field name="view_type">form</field>
  30. <field name="view_mode">form</field>
  31. <field name="view_id" ref="view_exception_rule_confirm"/>
  32. <field name="target">new</field>
  33. </record>
  34. </odoo>