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.

118 lines
5.7 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Added partner categories and partners to this file, because it
  5. turned out to be a bad idea to rely on demo data in base module,
  6. that can change from release to release. Only dependency on
  7. countries remain. They are less likely to change/disappear.
  8. -->
  9. <!-- Partner relation types -->
  10. <record id="rel_type_assistant" model="res.partner.relation.type">
  11. <field name="name">Is assistant of</field>
  12. <field name="name_inverse">Has assistant</field>
  13. <field name="contact_type_left">p</field>
  14. <field name="contact_type_right">p</field>
  15. </record>
  16. <record id="rel_type_competitor" model="res.partner.relation.type">
  17. <field name="name">Is competitor of</field>
  18. <field name="name_inverse">Is competitor of</field>
  19. <field name="contact_type_left">c</field>
  20. <field name="contact_type_right">c</field>
  21. <field name="is_symmetric" eval="True" />
  22. </record>
  23. <record id="rel_type_has_worked_for" model="res.partner.relation.type">
  24. <field name="name">Has worked for</field>
  25. <field name="name_inverse">Has former employee</field>
  26. <field name="contact_type_left">p</field>
  27. <field name="contact_type_right">c</field>
  28. </record>
  29. <!-- Categories -->
  30. <record id="res_partner_category_pmr_0" model="res.partner.category">
  31. <field name="name">Washing Companies</field>
  32. </record>
  33. <record id="res_partner_category_pmr_4" model="res.partner.category">
  34. <field name="name">Washing Gold</field>
  35. <field name="parent_id" ref="res_partner_category_pmr_0"/>
  36. </record>
  37. <record id="res_partner_category_pmr_5" model="res.partner.category">
  38. <field name="name">Washing Silver</field>
  39. <field name="parent_id" ref="res_partner_category_pmr_0"/>
  40. </record>
  41. <record id="res_partner_category_pmr_11" model="res.partner.category">
  42. <field name="name">Washing Services</field>
  43. <field name="parent_id" ref="res_partner_category_pmr_0"/>
  44. </record>
  45. <!-- Partners -->
  46. <record id="res_partner_pmr_great" model="res.partner">
  47. <field name="name">Great Washing Powder Company</field>
  48. <field
  49. name="category_id"
  50. eval="[(6, 0, [ref('res_partner_category_pmr_11'), ref('res_partner_category_pmr_4')])]"
  51. />
  52. <field name="supplier">1</field>
  53. <field name="customer">1</field>
  54. <field name="is_company">1</field>
  55. <field name="city">Le Bourget du Lac</field>
  56. <field name="zip">73377</field>
  57. <field name="phone">+33 4 49 23 44 54</field>
  58. <field name="country_id" ref="base.fr"/>
  59. <field name="street">93, Press Avenue</field>
  60. <field name="email">great@yourcompany.example.com</field>
  61. <field name="website">http://www.great.com</field>
  62. </record>
  63. <record id="res_partner_pmr_best" model="res.partner">
  64. <field name="name">Best Washing Powder Company</field>
  65. <field
  66. name="category_id"
  67. eval="[(6, 0, [ref('res_partner_category_pmr_4'), ref('res_partner_category_pmr_11')])]"
  68. />
  69. <field name="supplier">1</field>
  70. <field name="is_company">1</field>
  71. <field name="city">Champs sur Marne</field>
  72. <field name="zip">77420</field>
  73. <field name="country_id" ref="base.fr"/>
  74. <field name="email">best@yourcompany.example.com</field>
  75. <field name="phone">+33 1 64 61 04 01</field>
  76. <field name="street">12 rue Albert Einstein</field>
  77. <field name="website">http://www.best.com/</field>
  78. </record>
  79. <record id="res_partner_pmr_super" model="res.partner">
  80. <field name="name">Super Washing Powder Company</field>
  81. <field
  82. name="category_id"
  83. eval="[(6,0,[ref('res_partner_category_pmr_5')])]"
  84. />
  85. <field name="supplier">1</field>
  86. <field eval="1" name="customer"/>
  87. <field name="is_company">1</field>
  88. <field name="street">3rd Floor, Room 3-C,</field>
  89. <field name="street2">Carretera Panamericana, Km 1, Urb. Delgado Chalbaud</field>
  90. <field name="city">Caracas</field>
  91. <field name="zip">1090</field>
  92. <field name="email">super@yourcompany.example.com</field>
  93. <field name="phone">+58 212 681 0538</field>
  94. <field name="country_id" ref="base.ve"/>
  95. <field name="website">super.com</field>
  96. </record>
  97. <!-- Relations -->
  98. <record id="rel_1" model="res.partner.relation">
  99. <field name="left_partner_id" ref="res_partner_pmr_great" />
  100. <field name="right_partner_id" ref="res_partner_pmr_super" />
  101. <field name="type_id" ref="rel_type_competitor" />
  102. </record>
  103. <record id="rel_2" model="res.partner.relation">
  104. <field name="left_partner_id" ref="res_partner_pmr_best" />
  105. <field name="right_partner_id" ref="res_partner_pmr_super" />
  106. <field name="type_id" ref="rel_type_competitor" />
  107. </record>
  108. <record id="rel_3" model="res.partner.relation">
  109. <field name="left_partner_id" ref="res_partner_pmr_great" />
  110. <field name="right_partner_id" ref="res_partner_pmr_best" />
  111. <field name="type_id" ref="rel_type_competitor" />
  112. </record>
  113. </data>
  114. </openerp>