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.

146 lines
6.3 KiB

  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" ref="account_cooperator_demo"/>
  72. </record>
  73. <record id="product_template_share_type_1_demo" model="product.template">
  74. <field name="name">Part A - Founder</field>
  75. <field name="short_name">Part A</field>
  76. <field name="is_share" eval="True"/>
  77. <field name="default_share_product" eval="True"/>
  78. <field name="force_min_qty" eval="True"/>
  79. <field name="minimum_quantity">2</field>
  80. <field name="by_individual" eval="True"/>
  81. <field name="by_company" eval="True"/>
  82. <field name="list_price">50</field>
  83. <field name="display_on_website" eval="True"/>
  84. </record>
  85. <record id="product_product_share_type_1_demo" model="product.product">
  86. <field name="product_tmpl_id" ref="product_template_share_type_1_demo"/>
  87. </record>
  88. <record id="product_template_share_type_2_demo" model="product.template">
  89. <field name="name">Part B - Worker</field>
  90. <field name="short_name">Part B</field>
  91. <field name="is_share" eval="True"/>
  92. <field name="default_share_product" eval="True"/>
  93. <field name="force_min_qty" eval="True"/>
  94. <field name="minimum_quantity">2</field>
  95. <field name="by_individual" eval="True"/>
  96. <field name="by_company" eval="False"/>
  97. <field name="list_price">25</field>
  98. <field name="display_on_website" eval="True"/>
  99. </record>
  100. <record id="product_product_share_type_2_demo" model="product.product">
  101. <field name="product_tmpl_id" ref="product_template_share_type_2_demo"/>
  102. </record>
  103. <record id="subscription_request_1_demo" model="subscription.request">
  104. <field name="name">Manuel Dublues</field>
  105. <field name="email">manuel@demo.net</field>
  106. <field name="address">schaerbeekstraat</field>
  107. <field name="zip_code">1111</field>
  108. <field name="city">Brussels</field>
  109. <field name="country_id" ref="base.be"/>
  110. <field name="date" eval="datetime.now() - timedelta(days=12)"/>
  111. <field name="source">manual</field>
  112. <field name="ordered_parts">3</field>
  113. <field name="share_product_id" ref="product_product_share_type_2_demo"/>
  114. <field name="lang">en_US</field>
  115. </record>
  116. <record id="share_line_1_demo" model="share.line">
  117. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  118. <field name="share_number">2</field>
  119. <field name="share_unit_price">50</field>
  120. <field name="partner_id" ref="res_partner_cooperator_1_demo"/>
  121. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  122. </record>
  123. <record id="share_line_2_demo" model="share.line">
  124. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  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" eval="datetime.now() - timedelta(days=120)"/>
  129. </record>
  130. </odoo>