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.

140 lines
6.1 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. </record>
  17. <record id="bank_account_virginie_demo" model="res.partner.bank">
  18. <field name="acc_number">FR7611808009101234567890147</field>
  19. <field name="bank_name">Bank</field>
  20. <field name="partner_id" ref="res_partner_cooperator_1_demo"/>
  21. </record>
  22. <record id="res_partner_cooperator_2_demo" model="res.partner">
  23. <field name="name">Houssine Intégrale</field>
  24. <field name="customer" eval="True"/>
  25. <field name="is_company" eval="False"/>
  26. <field name="email">houssine@demo.net</field>
  27. <field name="street">Avenue des Dessous-de-Livres, 3</field>
  28. <field name="city">Namur (Loyers)</field>
  29. <field name="zip">5101</field>
  30. <field name="country_id" ref="base.be"/>
  31. </record>
  32. <record id="bank_account_houssine_demo" model="res.partner.bank">
  33. <field name="acc_number">FR7630001007941234567890185</field>
  34. <field name="bank_name">Bank</field>
  35. <field name="partner_id" ref="res_partner_cooperator_2_demo"/>
  36. </record>
  37. <record id="res_partner_cooperator_3_demo" model="res.partner">
  38. <field name="name">Vincent Bixolon</field>
  39. <field name="customer" eval="True"/>
  40. <field name="is_company" eval="False"/>
  41. <field name="email">vincent@demo.net</field>
  42. <field name="street">Rue de la colocation, 23</field>
  43. <field name="city">Namur (Loyers)</field>
  44. <field name="zip">5101</field>
  45. <field name="country_id" ref="base.be"/>
  46. </record>
  47. <record id="bank_account_vincent_demo" model="res.partner.bank">
  48. <field name="acc_number">BE71096123456769</field>
  49. <field name="bank_name">Bank</field>
  50. <field name="partner_id" ref="res_partner_cooperator_3_demo"/>
  51. </record>
  52. <record id="res_partner_cooperator_4_demo" model="res.partner">
  53. <field name="name">Rémy Commit</field>
  54. <field name="customer" eval="True"/>
  55. <field name="is_company" eval="False"/>
  56. <field name="email">remy@demo.net</field>
  57. <field name="street">Rue Guido Van Rossum, 2</field>
  58. <field name="city">Evere</field>
  59. <field name="zip">5101</field>
  60. <field name="country_id" ref="base.be"/>
  61. </record>
  62. <record id="account_cooperator_demo" model="account.account">
  63. <field name="code">416000</field>
  64. <field name="name">Cooperators</field>
  65. <field name="user_type_id" ref="account.data_account_type_receivable"/>
  66. <field name="reconcile" eval="True"/>
  67. </record>
  68. <record id="product_template_share_type_1_demo" model="product.template">
  69. <field name="name">Part A - Founder</field>
  70. <field name="short_name">Part A</field>
  71. <field name="is_share" eval="True"/>
  72. <field name="default_share_product" eval="True"/>
  73. <field name="force_min_qty" eval="True"/>
  74. <field name="minimum_quantity">2</field>
  75. <field name="by_individual" eval="True"/>
  76. <field name="by_company" eval="True"/>
  77. <field name="list_price">50</field>
  78. <field name="display_on_website" eval="True"/>
  79. </record>
  80. <record id="product_product_share_type_1_demo" model="product.product">
  81. <field name="product_tmpl_id" ref="product_template_share_type_1_demo"/>
  82. </record>
  83. <record id="product_template_share_type_2_demo" model="product.template">
  84. <field name="name">Part B - Worker</field>
  85. <field name="short_name">Part B</field>
  86. <field name="is_share" eval="True"/>
  87. <field name="default_share_product" eval="True"/>
  88. <field name="force_min_qty" eval="True"/>
  89. <field name="minimum_quantity">2</field>
  90. <field name="by_individual" eval="True"/>
  91. <field name="by_company" eval="False"/>
  92. <field name="list_price">25</field>
  93. <field name="display_on_website" eval="True"/>
  94. </record>
  95. <record id="product_product_share_type_2_demo" model="product.product">
  96. <field name="product_tmpl_id" ref="product_template_share_type_2_demo"/>
  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" ref="product_product_share_type_2_demo"/>
  109. <field name="lang">en_US</field>
  110. </record>
  111. <record id="share_line_1_demo" model="share.line">
  112. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  113. <field name="share_number">2</field>
  114. <field name="share_unit_price">50</field>
  115. <field name="partner_id" ref="res_partner_cooperator_1_demo"/>
  116. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  117. </record>
  118. <record id="share_line_2_demo" model="share.line">
  119. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  120. <field name="share_number">4</field>
  121. <field name="share_unit_price">50</field>
  122. <field name="partner_id" ref="res_partner_cooperator_2_demo"/>
  123. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  124. </record>
  125. </odoo>