link_tracker_views.xml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- LINK.TRACKER VIEWS -->
  4. <record id="link_tracker_view_search" model="ir.ui.view">
  5. <field name="name">link.tracker.view.search.inherit.mass.mail</field>
  6. <field name="model">link.tracker</field>
  7. <field name="inherit_id" ref="link_tracker.link_tracker_view_search"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//field[@name='title']" position="after">
  10. <field name="mass_mailing_id"/>
  11. </xpath>
  12. <xpath expr="//group" position="inside">
  13. <filter string="Mass Mailing" name="groupby_mass_mailing_id" context="{'group_by': 'mass_mailing_id'}"/>
  14. </xpath>
  15. </field>
  16. </record>
  17. <record id="link_tracker_view_form" model="ir.ui.view">
  18. <field name="name">link.tracker.view.form.inherit.mass.mail</field>
  19. <field name="model">link.tracker</field>
  20. <field name="inherit_id" ref="link_tracker.link_tracker_view_form"/>
  21. <field name="arch" type="xml">
  22. <xpath expr="//field[@name='campaign_id']" position="before">
  23. <field name="mass_mailing_id"/>
  24. </xpath>
  25. </field>
  26. </record>
  27. <!-- LINK.TRACKER.CLICK VIEWS -->
  28. <record id="link_tracker_click_view_search" model="ir.ui.view">
  29. <field name="name">link.tracker.click.view.search.inherit.mass_mailing</field>
  30. <field name="model">link.tracker.click</field>
  31. <field name="inherit_id" ref="link_tracker.link_tracker_click_view_search"/>
  32. <field name="arch" type="xml">
  33. <xpath expr="//field[@name='country_id']" position="after">
  34. <field name="campaign_id"/>
  35. <field name="mass_mailing_id"/>
  36. </xpath>
  37. <xpath expr="//filter[@name='groupby_country_id']" position="after">
  38. <filter string="Mass Mailing" name="groupby_mass_mailing_id" context="{'group_by': 'mass_mailing_id'}"/>
  39. </xpath>
  40. </field>
  41. </record>
  42. <record id="link_tracker_click_view_form" model="ir.ui.view">
  43. <field name="name">link.tracker.click.view.form.inherit.mass_mailing</field>
  44. <field name="model">link.tracker.click</field>
  45. <field name="inherit_id" ref="link_tracker.link_tracker_click_view_form"/>
  46. <field name="arch" type="xml">
  47. <xpath expr="//field[@name='country_id']" position="after">
  48. <field name="campaign_id"/>
  49. <field name="mass_mailing_id"/>
  50. <field name="mailing_trace_id"/>
  51. </xpath>
  52. </field>
  53. </record>
  54. <record id="link_tracker_click_view_tree" model="ir.ui.view">
  55. <field name="name">link.tracker.click.view.tree.inherit.mass_mailing</field>
  56. <field name="model">link.tracker.click</field>
  57. <field name="inherit_id" ref="link_tracker.link_tracker_click_view_tree"/>
  58. <field name="arch" type="xml">
  59. <xpath expr="//field[@name='link_id']" position="after">
  60. <field name="campaign_id"/>
  61. <field name="mass_mailing_id"/>
  62. </xpath>
  63. </field>
  64. </record>
  65. <record id="link_tracker_click_view_graph" model="ir.ui.view">
  66. <field name="name">link.tracker.click.view.graph.inherit.mass_mailing</field>
  67. <field name="model">link.tracker.click</field>
  68. <field name="inherit_id" ref="link_tracker.link_tracker_click_view_graph"/>
  69. <field name="arch" type="xml">
  70. <xpath expr="//field[@name='country_id']" position="after">
  71. <field name="campaign_id"/>
  72. <field name="mass_mailing_id"/>
  73. </xpath>
  74. </field>
  75. </record>
  76. </odoo>