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.

26 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 MIT (https://opensource.org/licenses/MIT).-->
  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
  17. expr="//div[@groups='base.group_user']/span[2]"
  18. position="attributes"
  19. >
  20. <attribute name="attrs">{'invisible': [('is_private', '=', True)]}
  21. </attribute>
  22. </xpath>
  23. </data>
  24. </field>
  25. </record>
  26. </odoo>