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.

50 lines
2.0 KiB

  1. <?xml version="1.0" ?>
  2. <odoo>
  3. <record id="view_exception_rule_tree" model="ir.ui.view">
  4. <field name="name">exception.rule.tree</field>
  5. <field name="model">exception.rule</field>
  6. <field name="arch" type="xml">
  7. <tree string="Exception Rule">
  8. <field name="active"/>
  9. <field name="name"/>
  10. <field name="description"/>
  11. <field name="model"/>
  12. <field name="sequence"/>
  13. </tree>
  14. </field>
  15. </record>
  16. <record id="view_exception_rule_form" model="ir.ui.view">
  17. <field name="name">exception.rule.form</field>
  18. <field name="model">exception.rule</field>
  19. <field name="arch" type="xml">
  20. <form string="Exception Rule Setup" name="exception_rule">
  21. <group colspan="4" col="2">
  22. <field name="name"/>
  23. <field name="description"/>
  24. </group>
  25. <group colspan="4" groups="base_exception.group_exception_rule_manager">
  26. <field name="active"/>
  27. <field name="sequence"/>
  28. </group>
  29. <group colspan="4" col="2" groups="base.group_system">
  30. <field name="rule_group"/>
  31. <field name="model"/>
  32. <field name="next_state"/>
  33. <field name="code"/>
  34. </group>
  35. </form>
  36. </field>
  37. </record>
  38. <record id="action_exception_rule_tree" model="ir.actions.act_window">
  39. <field name="name">Exception Rules</field>
  40. <field name="res_model">exception.rule</field>
  41. <field name="view_type">form</field>
  42. <field name="view_mode">tree,form</field>
  43. <field name="view_id" ref="view_exception_rule_tree"/>
  44. <field name="context">{'active_test': False}</field>
  45. </record>
  46. <menuitem action="action_exception_rule_tree" id="menu_action_exception" parent="base.menu_custom" sequence="90" />
  47. </odoo>