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.

43 lines
1.7 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2014-2015 Grupo ESOC <http://www.grupoesoc.es>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
  4. <odoo>
  5. <record id="mail_message_view_form" model="ir.ui.view">
  6. <field name="name">mail.message.full_expand</field>
  7. <field name="model">mail.message</field>
  8. <field name="priority">30</field>
  9. <field name="arch" type="xml">
  10. <form string="Message">
  11. <group>
  12. <field name="author_id" readonly="1"/>
  13. <field name="email_from" readonly="1"/>
  14. <field name="date" readonly="1"/>
  15. <field name="partner_ids"
  16. widget="many2many_tags"
  17. readonly="1"/>
  18. </group>
  19. <h1><field name="subject" readonly="1"/></h1>
  20. <field name="body" readonly="1"/>
  21. <field name="attachment_ids"
  22. widget="many2many_binary"
  23. readonly="1"/>
  24. <footer>
  25. <button string="Close" class="btn-secondary" special="cancel"/>
  26. </footer>
  27. </form>
  28. </field>
  29. </record>
  30. <record id="mail_message_action" model="ir.actions.act_window">
  31. <field name="name">Read Full Email</field>
  32. <field name="res_model">mail.message</field>
  33. <field name="src_model">mail.message</field>
  34. <field name="type">ir.actions.act_window</field>
  35. <field name="view_id" ref="mail_message_view_form"/>
  36. <field name="view_type">form</field>
  37. <field name="view_mode">form</field>
  38. <field name="target">new</field>
  39. </record>
  40. </odoo>