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.

30 lines
1.3 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_form_view">
  7. <field name="name">email.template.form (in email_template_configurator)</field>
  8. <field name="model">email.template</field>
  9. <field name="inherit_id" ref="email_template.email_template_form"/>
  10. <field name="arch" type="xml">
  11. <xpath expr="//page[.//field[@name='model_object_field']]" position="attributes">
  12. <attribute name="groups">email_template_configurator.group_email_template_placeholders_manager</attribute>
  13. </xpath>
  14. <xpath expr="//page[.//field[@name='model_object_field']]" position="after">
  15. <page name="configured_placeholders" string="Configured Placeholders">
  16. <group>
  17. <field name="placeholder_id"
  18. domain="[('model_id','=',model_id)]"
  19. options="{'no_quick_create':True,'no_create_edit':True}"/>
  20. <field name="placeholder_value"/>
  21. </group>
  22. </page>
  23. </xpath>
  24. </field>
  25. </record>
  26. </data>
  27. </openerp>