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.

28 lines
1.2 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--Copyright 2017 Artyom Losev <https://github.com/ArtyomLosev>
  3. Copyright 2019 Artem Rafailov <https://it-projects.info/team/Ommo73/>
  4. License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html).-->
  5. <odoo>
  6. <record model="ir.ui.view" id="email_compose_message_wizard_form_private">
  7. <field name="name">mail.compose.message.form.private</field>
  8. <field name="model">mail.compose.message</field>
  9. <field name="groups_id" eval="[(4,ref('base.group_user'))]"/>
  10. <field name="inherit_id" ref="mail.email_compose_message_wizard_form"/>
  11. <field name="arch" type="xml">
  12. <data>
  13. <xpath expr="//field[@name='active_domain']" position="after">
  14. <field name="is_private" invisible="1" />
  15. </xpath>
  16. <xpath expr="//div[@groups='base.group_user']/span[2]" position="attributes">
  17. <attribute name="attrs">{'invisible': [('is_private', '=', True)]}
  18. </attribute>
  19. </xpath>
  20. </data>
  21. </field>
  22. </record>
  23. </odoo>