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.

51 lines
2.1 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="code"/>
  33. </group>
  34. </form>
  35. </field>
  36. </record>
  37. <record id="action_exception_rule_tree" model="ir.actions.act_window">
  38. <field name="name">Exception Rules</field>
  39. <field name="res_model">exception.rule</field>
  40. <field name="view_type">form</field>
  41. <field name="view_mode">tree,form</field>
  42. <field name="view_id" ref="view_exception_rule_tree"/>
  43. <field name="context">{'active_test': False}</field>
  44. </record>
  45. <menuitem action="action_exception_rule_tree" id="menu_action_exception" parent="base_setup.menu_config" />
  46. </odoo>