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.

68 lines
2.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2018 ACSONE SA/NV
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <openerp>
  5. <data>
  6. <record model="ir.ui.view" id="email_template_placeholder_form_view">
  7. <field name="name">email.template.placeholder.form (in email_template_configurator)</field>
  8. <field name="model">email.template.placeholder</field>
  9. <field name="arch" type="xml">
  10. <form>
  11. <sheet>
  12. <group>
  13. <field name="name"/>
  14. <field name="active"/>
  15. </group>
  16. <group>
  17. <field name="model_id"/>
  18. <field name="placeholder"/>
  19. </group>
  20. </sheet>
  21. </form>
  22. </field>
  23. </record>
  24. <record model="ir.ui.view" id="email_template_placeholder_search_view">
  25. <field name="name">email.template.placeholder.search (in email_template_configurator)</field>
  26. <field name="model">email.template.placeholder</field>
  27. <field name="arch" type="xml">
  28. <search>
  29. <field name="name"/>
  30. <field name="model_id"/>
  31. <group expand="0" string="Group by...">
  32. <filter string="Model" domain="[]" context="{'group_by':'model_id'}" icon="terp-accessories-archiver"/>
  33. </group>
  34. </search>
  35. </field>
  36. </record>
  37. <record model="ir.ui.view" id="email_template_placeholder_tree_view">
  38. <field name="name">email.template.placeholder.tree (in email_template_configurator)</field>
  39. <field name="model">email.template.placeholder</field>
  40. <field name="arch" type="xml">
  41. <tree>
  42. <field name="name"/>
  43. <field name="model_id"/>
  44. <field name="placeholder"/>
  45. </tree>
  46. </field>
  47. </record>
  48. <record model="ir.actions.act_window" id="email_template_placeholder_act_window">
  49. <field name="name">Template Placeholders</field>
  50. <field name="res_model">email.template.placeholder</field>
  51. <field name="view_mode">tree,form</field>
  52. <field name="domain">[]</field>
  53. <field name="context">{}</field>
  54. </record>
  55. <record model="ir.ui.menu" id="email_template_placeholder_menu">
  56. <field name="name">Template Placeholders</field>
  57. <field name="parent_id" ref="base.menu_email"/>
  58. <field name="action" ref="email_template_placeholder_act_window"/>
  59. </record>
  60. </data>
  61. </openerp>