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.

138 lines
6.2 KiB

5 years ago
5 years ago
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="easy_my_coop.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="easy_my_coop.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_template_share_type_2_demo" model="product.template">
  86. <field name="name">Part B - Worker</field>
  87. <field name="short_name">Part B</field>
  88. <field name="is_share" eval="True"/>
  89. <field name="default_share_product" eval="True"/>
  90. <field name="force_min_qty" eval="True"/>
  91. <field name="minimum_quantity">2</field>
  92. <field name="by_individual" eval="True"/>
  93. <field name="by_company" eval="False"/>
  94. <field name="list_price">25</field>
  95. <field name="display_on_website" eval="True"/>
  96. </record>
  97. <record id="subscription_request_1_demo" model="subscription.request">
  98. <field name="name">Manuel Dublues</field>
  99. <field name="email">manuel@demo.net</field>
  100. <field name="address">schaerbeekstraat</field>
  101. <field name="zip_code">1111</field>
  102. <field name="city">Brussels</field>
  103. <field name="country_id" ref="base.be"/>
  104. <field name="date" eval="datetime.now() - timedelta(days=12)"/>
  105. <field name="source">manual</field>
  106. <field name="ordered_parts">3</field>
  107. <field name="share_product_id" model="product.template" eval="obj(ref('product_template_share_type_2_demo')).product_variant_id.id"/>
  108. <field name="lang">en_US</field>
  109. </record>
  110. <record id="share_line_1_demo" model="share.line">
  111. <field name="share_product_id" model="product.template" eval="obj(ref('product_template_share_type_1_demo')).product_variant_id.id"/>
  112. <field name="share_number">2</field>
  113. <field name="share_unit_price">50</field>
  114. <field name="partner_id" ref="res_partner_cooperator_1_demo"/>
  115. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  116. </record>
  117. <record id="share_line_2_demo" model="share.line">
  118. <field name="share_product_id" model="product.template" eval="obj(ref('product_template_share_type_1_demo')).product_variant_id.id"/>
  119. <field name="share_number">4</field>
  120. <field name="share_unit_price">50</field>
  121. <field name="partner_id" ref="res_partner_cooperator_2_demo"/>
  122. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  123. </record>
  124. </odoo>