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.

61 lines
2.2 KiB

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <odoo>
  3. <!--
  4. VIEWS
  5. -->
  6. <!-- FORM VIEW -->
  7. <record id="mail_activity_view_form_board" model="ir.ui.view">
  8. <field name="name">mail.activity.boards.view.form</field>
  9. <field name="model">mail.activity</field>
  10. <field name="inherit_id" ref="mail_activity_board.mail_activity_view_form_board"/>
  11. <field name="arch" type="xml">
  12. <field name="activity_type_id" position="before">
  13. <field name="partner_id" readonly="True"/>
  14. <field name="commercial_partner_id"/>
  15. </field>
  16. </field>
  17. </record>
  18. <!-- TREE VIEW -->
  19. <record id="mail_activity_view_tree" model="ir.ui.view">
  20. <field name="name">mail.activity.boards.view.tree</field>
  21. <field name="model">mail.activity</field>
  22. <field name="inherit_id" ref="mail_activity_board.mail_activity_view_tree"/>
  23. <field name="arch" type="xml">
  24. <field name="activity_type_id" position="before">
  25. <field name="partner_id" readonly="True"/>
  26. <field name="commercial_partner_id"/>
  27. </field>
  28. </field>
  29. </record>
  30. <!-- KANBAN VIEW -->
  31. <record id="mail_activity_view_kanban" model="ir.ui.view">
  32. <field name="name">mail.activity.boards.view.kanban</field>
  33. <field name="model">mail.activity</field>
  34. <field name="inherit_id" ref="mail_activity_board.mail_activity_view_kanban"/>
  35. <field name="arch" type="xml">
  36. <strong class="o_kanban_record_title" position="inside">
  37. <field name="partner_id"/>
  38. </strong>
  39. </field>
  40. </record>
  41. <!-- SEARCH VIEW -->
  42. <record id="mail_activity_view_search" model="ir.ui.view">
  43. <field name="name">mail.activity.boards.view.search</field>
  44. <field name="model">mail.activity</field>
  45. <field name="inherit_id" ref="mail_activity_board.mail_activity_view_search"/>
  46. <field name="arch" type="xml">
  47. <xpath expr='//field[@name="res_model_id"]' position='before'>
  48. <field name="partner_id"/>
  49. <field name="commercial_partner_id"/>
  50. </xpath>
  51. </field>
  52. </record>
  53. </odoo>