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.

39 lines
1.9 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="rel_type_assistant" model="res.partner.relation.type">
  5. <field name="name">is assistant of</field>
  6. <field name="name_inverse">has assistant</field>
  7. <field name="contact_type_left">p</field>
  8. <field name="contact_type_right">p</field>
  9. </record>
  10. <record id="rel_type_competitor" model="res.partner.relation.type">
  11. <field name="name">is competitor of</field>
  12. <field name="name_inverse">is competitor of</field>
  13. <field name="contact_type_left">c</field>
  14. <field name="contact_type_right">c</field>
  15. <field name="is_symmetric" eval="True" />
  16. </record>
  17. <record id="rel_type_has_worked_for" model="res.partner.relation.type">
  18. <field name="name">works for</field>
  19. <field name="name_inverse">has employee</field>
  20. <field name="contact_type_left">p</field>
  21. <field name="contact_type_right">c</field>
  22. </record>
  23. <record id="rel_1" model="res.partner.relation">
  24. <field name="left_partner_id" ref="base.res_partner_12" />
  25. <field name="right_partner_id" ref="base.res_partner_23" />
  26. <field name="type_id" ref="rel_type_competitor" />
  27. </record>
  28. <record id="rel_2" model="res.partner.relation">
  29. <field name="left_partner_id" ref="base.res_partner_13" />
  30. <field name="right_partner_id" ref="base.res_partner_23" />
  31. <field name="type_id" ref="rel_type_competitor" />
  32. </record>
  33. <record id="rel_3" model="res.partner.relation">
  34. <field name="left_partner_id" ref="base.res_partner_12" />
  35. <field name="right_partner_id" ref="base.res_partner_13" />
  36. <field name="type_id" ref="rel_type_competitor" />
  37. </record>
  38. </data>
  39. </openerp>