mail_wizard_invite_views.xml 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <data>
  4. <!-- wizard view -->
  5. <record model="ir.ui.view" id="mail_wizard_invite_form">
  6. <field name="name">Add Followers</field>
  7. <field name="model">mail.wizard.invite</field>
  8. <field name="arch" type="xml">
  9. <form string="Add Followers">
  10. <group>
  11. <field name="res_model" invisible="1"/>
  12. <field name="res_id" invisible="1"/>
  13. <field name="partner_ids" widget="many2many_tags_email"
  14. placeholder="Add contacts to notify..."
  15. context="{'force_email':True, 'show_email':True}"/>
  16. <field name="send_mail"/>
  17. <field name="message" attrs="{'invisible': [('send_mail','!=',True)]}" options="{'style-inline': true, 'no-attachment': true}" class="test_message"/>
  18. </group>
  19. <footer>
  20. <button string="Add Followers"
  21. name="add_followers" type="object" class="btn-primary" data-hotkey="q"/>
  22. <button string="Cancel" class="btn-secondary" special="cancel" data-hotkey="z" />
  23. </footer>
  24. </form>
  25. </field>
  26. </record>
  27. </data>
  28. </odoo>