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.9 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--Copyright 2016 x620 <https://github.com/x620>
  3. Copyright 2019 Artem Rafailov <https://it-projects.info/team/Ommo73/>
  4. License LGPL-3.0 (https://www.gnu.org/licenses/lgpl.html).-->
  5. <openerp>
  6. <data>
  7. <record id="mail_private_email_compose_message_wizard_form" model="ir.ui.view">
  8. <field name="name">mail.private.mail.compose.message.form</field>
  9. <field name="model">mail.compose.message</field>
  10. <field name="inherit_id" ref="mail.email_compose_message_wizard_form"/>
  11. <field name="arch" type="xml">
  12. <xpath expr="//div[@groups='base.group_user']" position="replace">
  13. <div groups="base.group_user" attrs="{'invisible': [('is_log', '=', True)]}">
  14. <field name="private" invisible="1"/>
  15. <!--<field name="private"/>-->
  16. <span attrs="{'invisible': [('composition_mode', '!=', 'mass_mail')]}">
  17. <strong>Email mass mailing</strong> on
  18. <span attrs="{'invisible': [('use_active_domain', '=', True)]}">the selected records</span>
  19. <span attrs="{'invisible': [('use_active_domain', '=', False)]}">the current search filter</span>.
  20. </span>
  21. <span attrs="{'invisible':['|', ('composition_mode', '!=', 'comment'), ('private', '=', True)]}">Followers of the document and</span>
  22. <field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to notify..."
  23. context="{'force_email':True, 'show_email':True}"
  24. attrs="{'invisible': [('composition_mode', '!=', 'comment')]}"/>
  25. </div>
  26. </xpath>
  27. </field>
  28. </record>
  29. </data>
  30. </openerp>