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.

40 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- © 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. </form>
  25. </field>
  26. </record>
  27. <record id="mail_message_action" model="ir.actions.act_window">
  28. <field name="name">Read Full Email</field>
  29. <field name="res_model">mail.message</field>
  30. <field name="src_model">mail.message</field>
  31. <field name="type">ir.actions.act_window</field>
  32. <field name="view_id" ref="mail_message_view_form"/>
  33. <field name="view_type">form</field>
  34. <field name="view_mode">form</field>
  35. <field name="target">new</field>
  36. </record>
  37. </odoo>