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.

145 lines
6.2 KiB

5 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright 2019 Coop IT Easy
  4. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  5. -->
  6. <odoo>
  7. <record id="res_partner_cooperator_1_demo" model="res.partner">
  8. <field name="name">Virginie Leloup</field>
  9. <field name="customer" eval="True"/>
  10. <field name="is_company" eval="False"/>
  11. <field name="email">virginie@demo.net</field>
  12. <field name="street">Avenue des Dessus-de-Livres, 2</field>
  13. <field name="city">Namur (Loyers)</field>
  14. <field name="zip">5101</field>
  15. <field name="country_id" ref="base.be"/>
  16. <field name="member" eval="True"/>
  17. </record>
  18. <record id="bank_account_virginie_demo" model="res.partner.bank">
  19. <field name="acc_number">FR7611808009101234567890147</field>
  20. <field name="bank_name">Bank</field>
  21. <field name="partner_id" ref="res_partner_cooperator_1_demo"/>
  22. </record>
  23. <record id="res_partner_cooperator_2_demo" model="res.partner">
  24. <field name="name">Houssine Intégrale</field>
  25. <field name="customer" eval="True"/>
  26. <field name="is_company" eval="False"/>
  27. <field name="email">houssine@demo.net</field>
  28. <field name="street">Avenue des Dessous-de-Livres, 3</field>
  29. <field name="city">Namur (Loyers)</field>
  30. <field name="zip">5101</field>
  31. <field name="country_id" ref="base.be"/>
  32. <field name="member" eval="True"/>
  33. </record>
  34. <record id="bank_account_houssine_demo" model="res.partner.bank">
  35. <field name="acc_number">FR7630001007941234567890185</field>
  36. <field name="bank_name">Bank</field>
  37. <field name="partner_id" ref="res_partner_cooperator_2_demo"/>
  38. </record>
  39. <record id="res_partner_cooperator_3_demo" model="res.partner">
  40. <field name="name">Vincent Bixolon</field>
  41. <field name="customer" eval="True"/>
  42. <field name="is_company" eval="False"/>
  43. <field name="email">vincent@demo.net</field>
  44. <field name="street">Rue de la colocation, 23</field>
  45. <field name="city">Namur (Loyers)</field>
  46. <field name="zip">5101</field>
  47. <field name="country_id" ref="base.be"/>
  48. </record>
  49. <record id="bank_account_vincent_demo" model="res.partner.bank">
  50. <field name="acc_number">BE71096123456769</field>
  51. <field name="bank_name">Bank</field>
  52. <field name="partner_id" ref="res_partner_cooperator_3_demo"/>
  53. </record>
  54. <record id="res_partner_cooperator_4_demo" model="res.partner">
  55. <field name="name">Rémy Commit</field>
  56. <field name="customer" eval="True"/>
  57. <field name="is_company" eval="False"/>
  58. <field name="email">remy@demo.net</field>
  59. <field name="street">Rue Guido Van Rossum, 2</field>
  60. <field name="city">Evere</field>
  61. <field name="zip">5101</field>
  62. <field name="country_id" ref="base.be"/>
  63. </record>
  64. <record id="account_cooperator_demo" model="account.account">
  65. <field name="code">416101</field>
  66. <field name="name">Cooperators</field>
  67. <field name="user_type_id" ref="account.data_account_type_receivable"/>
  68. <field name="reconcile" eval="True"/>
  69. </record>
  70. <record id="base.main_company" model="res.company">
  71. <field name="property_cooperator_account"
  72. ref="account_cooperator_demo"/>
  73. </record>
  74. <record id="product_template_share_type_1_demo" model="product.template">
  75. <field name="name">Part A - Founder</field>
  76. <field name="short_name">Part A</field>
  77. <field name="is_share" eval="True"/>
  78. <field name="default_share_product" eval="True"/>
  79. <field name="force_min_qty" eval="True"/>
  80. <field name="minimum_quantity">2</field>
  81. <field name="by_individual" eval="True"/>
  82. <field name="by_company" eval="True"/>
  83. <field name="list_price">50</field>
  84. <field name="display_on_website" eval="True"/>
  85. </record>
  86. <record id="product_template_share_type_2_demo" model="product.template">
  87. <field name="name">Part B - Worker</field>
  88. <field name="short_name">Part B</field>
  89. <field name="is_share" eval="True"/>
  90. <field name="default_share_product" eval="True"/>
  91. <field name="force_min_qty" eval="True"/>
  92. <field name="minimum_quantity">2</field>
  93. <field name="by_individual" eval="True"/>
  94. <field name="by_company" eval="False"/>
  95. <field name="list_price">25</field>
  96. <field name="display_on_website" eval="True"/>
  97. </record>
  98. <record id="subscription_request_1_demo" model="subscription.request">
  99. <field name="name">Manuel Dublues</field>
  100. <field name="email">manuel@demo.net</field>
  101. <field name="address">schaerbeekstraat</field>
  102. <field name="zip_code">1111</field>
  103. <field name="city">Brussels</field>
  104. <field name="country_id" ref="base.be"/>
  105. <field name="date" eval="datetime.now() - timedelta(days=12)"/>
  106. <field name="source">manual</field>
  107. <field name="ordered_parts">3</field>
  108. <field name="share_product_id" model="product.template"
  109. eval="obj(ref('product_template_share_type_2_demo')).product_variant_id.id"/>
  110. <field name="lang">en_US</field>
  111. <field name="skip_control_ng" eval="True"/>
  112. </record>
  113. <record id="share_line_1_demo" model="share.line">
  114. <field name="share_product_id" model="product.template"
  115. eval="obj(ref('product_template_share_type_1_demo')).product_variant_id.id"/>
  116. <field name="share_number">2</field>
  117. <field name="share_unit_price">50</field>
  118. <field name="partner_id" ref="res_partner_cooperator_1_demo"/>
  119. <field name="effective_date"
  120. eval="datetime.now() - timedelta(days=120)"/>
  121. </record>
  122. <record id="share_line_2_demo" model="share.line">
  123. <field name="share_product_id" model="product.template"
  124. eval="obj(ref('product_template_share_type_1_demo')).product_variant_id.id"/>
  125. <field name="share_number">4</field>
  126. <field name="share_unit_price">50</field>
  127. <field name="partner_id" ref="res_partner_cooperator_2_demo"/>
  128. <field name="effective_date"
  129. eval="datetime.now() - timedelta(days=120)"/>
  130. </record>
  131. </odoo>