OCA reporting engine fork for dev and update.
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
1.8 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <record model="ir.ui.view" id="view_base_comment_template_search">
  4. <field name="name">base.comment.template.search</field>
  5. <field name="model">base.comment.template</field>
  6. <field name="arch" type="xml">
  7. <search string="Comment Templates">
  8. <field name="name"/>
  9. <field name="position"/>
  10. </search>
  11. </field>
  12. </record>
  13. <record model="ir.ui.view" id="view_base_comment_template_form">
  14. <field name="name">base.comment.template.form</field>
  15. <field name="model">base.comment.template</field>
  16. <field name="arch" type="xml">
  17. <form string="Comment Templates">
  18. <group>
  19. <field name="name"/>
  20. <field name="position"/>
  21. <field name="text" colspan="4"/>
  22. </group>
  23. </form>
  24. </field>
  25. </record>
  26. <record model="ir.ui.view" id="view_base_comment_template_tree">
  27. <field name="name">account.comment.template.list</field>
  28. <field name="model">base.comment.template</field>
  29. <field name="priority" eval="6"/>
  30. <field name="arch" type="xml">
  31. <tree>
  32. <field name="name"/>
  33. <field name="position"/>
  34. </tree>
  35. </field>
  36. </record>
  37. <record model="ir.actions.act_window" id="action_base_comment_template">
  38. <field name="name">Comment Templates</field>
  39. <field name="type">ir.actions.act_window</field>
  40. <field name="res_model">base.comment.template</field>
  41. <field name="view_type">form</field>
  42. <field name="view_mode">tree,form</field>
  43. <field name="view_id" ref="view_base_comment_template_tree"/>
  44. </record>
  45. </odoo>