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.

52 lines
2.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record model="ir.ui.view" id="message_vacuum_rule_form_view">
  4. <field name="name">message.vacuum.rule.form.view</field>
  5. <field name="model">message.vacuum.rule</field>
  6. <field name="arch" type="xml">
  7. <form string="Message Vacuum Rule">
  8. <sheet>
  9. <group>
  10. <group col="4">
  11. <field name="name" colspan="2"/>
  12. <field name="company_id" colspan="2"/>
  13. <field name="message_type" colspan="2"/>
  14. <field name="empty_subtype" colspan="2"/>
  15. <field name="retention_time" colspan="2"/>
  16. </group>
  17. <separator string="Message Models" colspan="4"/>
  18. <field name="model_ids" nolabel="1" colspan="4"/>
  19. <separator string="Message Subtypes" colspan="4"/>
  20. <field name="message_subtype_ids" nolabel="1" colspan="4"/>
  21. </group>
  22. </sheet>
  23. </form>
  24. </field>
  25. </record>
  26. <record model="ir.ui.view" id="message_vacuum_rule_tree_view">
  27. <field name="name">message.vacuum.rule.form.view</field>
  28. <field name="model">message.vacuum.rule</field>
  29. <field name="arch" type="xml">
  30. <tree>
  31. <field name="name"/>
  32. <field name="company_id"/>
  33. <field name="message_type"/>
  34. <field name="empty_subtype"/>
  35. <field name="retention_time"/>
  36. </tree>
  37. </field>
  38. </record>
  39. <record model="ir.actions.act_window" id="action_message_vacuum_rule">
  40. <field name="name">Message Vacuum Rule</field>
  41. <field name="res_model">message.vacuum.rule</field>
  42. <field name="view_type">form</field>
  43. <field name="view_mode">tree,form</field>
  44. </record>
  45. <menuitem id="menu_action_message_vacuum_rule" parent="base.menu_email" action="action_message_vacuum_rule"/>
  46. </odoo>