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.

175 lines
7.6 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="account_equity_demo" model="account.account">
  71. <field name="name">Equity</field>
  72. <field name="code">100910</field>
  73. <field eval="True" name="reconcile"/>
  74. <field name="user_type_id" ref="account.data_account_type_equity"/>
  75. </record>
  76. <record id="base.main_company" model="res.company">
  77. <field name="property_cooperator_account"
  78. ref="account_cooperator_demo"/>
  79. </record>
  80. <record id="subscription_journal" model="account.journal">
  81. <field name="default_credit_account_id" ref="account_equity_demo"/>
  82. <field name="default_debit_account_id" ref="account_equity_demo"/>
  83. </record>
  84. <record id="product_template_share_type_1_demo" model="product.template">
  85. <field name="name">Part A - Founder</field>
  86. <field name="short_name">Part A</field>
  87. <field name="is_share" eval="True"/>
  88. <field name="default_share_product" eval="True"/>
  89. <field name="force_min_qty" eval="True"/>
  90. <field name="minimum_quantity">2</field>
  91. <field name="by_individual" eval="True"/>
  92. <field name="by_company" eval="True"/>
  93. <field name="list_price">50</field>
  94. <field name="display_on_website" eval="True"/>
  95. </record>
  96. <record id="product_template_share_type_2_demo" model="product.template">
  97. <field name="name">Part B - Worker</field>
  98. <field name="short_name">Part B</field>
  99. <field name="is_share" eval="True"/>
  100. <field name="default_share_product" eval="True"/>
  101. <field name="force_min_qty" eval="True"/>
  102. <field name="minimum_quantity">2</field>
  103. <field name="by_individual" eval="True"/>
  104. <field name="by_company" eval="False"/>
  105. <field name="list_price">25</field>
  106. <field name="display_on_website" eval="True"/>
  107. </record>
  108. <record id="subscription_request_1_demo" model="subscription.request">
  109. <field name="name">Manuel Dublues</field>
  110. <field name="email">manuel@demo.net</field>
  111. <field name="address">schaerbeekstraat</field>
  112. <field name="zip_code">1111</field>
  113. <field name="city">Brussels</field>
  114. <field name="country_id" ref="base.be"/>
  115. <field name="date" eval="datetime.now() - timedelta(days=12)"/>
  116. <field name="source">manual</field>
  117. <field name="ordered_parts">3</field>
  118. <field name="share_product_id" model="product.template"
  119. eval="obj(ref('product_template_share_type_2_demo')).product_variant_id.id"/>
  120. <field name="lang">en_US</field>
  121. <field name="skip_control_ng" eval="True"/>
  122. </record>
  123. <record id="subscription_request_waiting_demo" model="subscription.request">
  124. <field name="name">Catherine des Champs</field>
  125. <field name="email">catherine@demo.net</field>
  126. <field name="address">Chemin des bois fleuris</field>
  127. <field name="zip_code">1000</field>
  128. <field name="city">Brussels</field>
  129. <field name="country_id" ref="base.be"/>
  130. <field name="date" eval="datetime.now() - timedelta(days=60)"/>
  131. <field name="source">manual</field>
  132. <field name="ordered_parts">4</field>
  133. <field name="share_product_id" model="product.template"
  134. eval="obj(ref('product_template_share_type_1_demo')).product_variant_id.id"/>
  135. <field name="lang">en_US</field>
  136. <field name="skip_control_ng" eval="True"/>
  137. <field name="state">waiting</field>
  138. </record>
  139. <record id="share_line_1_demo" model="share.line">
  140. <field name="share_product_id" model="product.template"
  141. eval="obj(ref('product_template_share_type_1_demo')).product_variant_id.id"/>
  142. <field name="share_number">2</field>
  143. <field name="share_unit_price">50</field>
  144. <field name="partner_id" ref="res_partner_cooperator_1_demo"/>
  145. <field name="effective_date"
  146. eval="datetime.now() - timedelta(days=120)"/>
  147. </record>
  148. <record id="share_line_2_demo" model="share.line">
  149. <field name="share_product_id" model="product.template"
  150. eval="obj(ref('product_template_share_type_1_demo')).product_variant_id.id"/>
  151. <field name="share_number">4</field>
  152. <field name="share_unit_price">50</field>
  153. <field name="partner_id" ref="res_partner_cooperator_2_demo"/>
  154. <field name="effective_date"
  155. eval="datetime.now() - timedelta(days=120)"/>
  156. </record>
  157. </odoo>