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.

39 lines
1.5 KiB

7 years ago
7 years ago
7 years ago
7 years ago
  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="Outstanding exceptions to manager" 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. </group>
  17. <group>
  18. <field name="ignore" groups='base_exception.group_exception_rule_manager'/>
  19. </group>
  20. <footer>
  21. <button name="action_confirm" string="_Close"
  22. colspan="1" type="object" class="btn-primary"/>
  23. </footer>
  24. </form>
  25. </field>
  26. </record>
  27. <record id="action_exception_rule_confirm" model="ir.actions.act_window">
  28. <field name="name">Outstanding exceptions to manage</field>
  29. <field name="type">ir.actions.act_window</field>
  30. <field name="res_model">exception.rule.confirm</field>
  31. <field name="view_type">form</field>
  32. <field name="view_mode">form</field>
  33. <field name="view_id" ref="view_exception_rule_confirm"/>
  34. <field name="target">new</field>
  35. </record>
  36. </odoo>