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

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