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.

128 lines
5.5 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="res_partner_cooperator_2_demo" model="res.partner">
  18. <field name="name">Houssine Intégrale</field>
  19. <field name="customer" eval="True"/>
  20. <field name="is_company" eval="False"/>
  21. <field name="email">houssine@demo.net</field>
  22. <field name="street">Avenue des Dessous-de-Livres, 3</field>
  23. <field name="city">Namur (Loyers)</field>
  24. <field name="zip">5101</field>
  25. <field name="country_id" ref="base.be"/>
  26. </record>
  27. <record id="res_partner_cooperator_3_demo" model="res.partner">
  28. <field name="name">Vincent Bixolon</field>
  29. <field name="customer" eval="True"/>
  30. <field name="is_company" eval="False"/>
  31. <field name="email">vincent@demo.net</field>
  32. <field name="street">Rue de la colocation, 23</field>
  33. <field name="city">Namur (Loyers)</field>
  34. <field name="zip">5101</field>
  35. <field name="country_id" ref="base.be"/>
  36. </record>
  37. <record id="bank_account_vincent_demo" model="res.partner.bank">
  38. <field name="acc_number">BE68539007547034</field>
  39. <field name="bank_name">Bank</field>
  40. <field name="partner_id" ref="res_partner_cooperator_3_demo"/>
  41. </record>
  42. <record id="res_partner_cooperator_4_demo" model="res.partner">
  43. <field name="name">Rémy Commit</field>
  44. <field name="customer" eval="True"/>
  45. <field name="is_company" eval="False"/>
  46. <field name="email">remy@demo.net</field>
  47. <field name="street">Rue Guido Van Rossum, 2</field>
  48. <field name="city">Evere</field>
  49. <field name="zip">5101</field>
  50. <field name="country_id" ref="base.be"/>
  51. </record>
  52. <record id="account_cooperator_demo" model="account.account">
  53. <field name="code">416000</field>
  54. <field name="name">Cooperators</field>
  55. <field name="user_type_id" ref="account.data_account_type_receivable"/>
  56. <field name="reconcile" eval="True"/>
  57. </record>
  58. <record id="product_template_share_type_1_demo" model="product.template">
  59. <field name="name">Part A - Founder</field>
  60. <field name="short_name">Part A</field>
  61. <field name="is_share" eval="True"/>
  62. <field name="default_share_product" eval="True"/>
  63. <field name="force_min_qty" eval="True"/>
  64. <field name="minimum_quantity">2</field>
  65. <field name="by_individual" eval="True"/>
  66. <field name="by_company" eval="True"/>
  67. <field name="list_price">50</field>
  68. <field name="display_on_website" eval="True"/>
  69. </record>
  70. <record id="product_product_share_type_1_demo" model="product.product">
  71. <field name="product_tmpl_id" ref="product_template_share_type_1_demo"/>
  72. </record>
  73. <record id="product_template_share_type_2_demo" model="product.template">
  74. <field name="name">Part B - Worker</field>
  75. <field name="short_name">Part B</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="False"/>
  82. <field name="list_price">25</field>
  83. <field name="display_on_website" eval="True"/>
  84. </record>
  85. <record id="product_product_share_type_2_demo" model="product.product">
  86. <field name="product_tmpl_id" ref="product_template_share_type_2_demo"/>
  87. </record>
  88. <record id="subscription_request_1_demo" model="subscription.request">
  89. <field name="name">Manuel Dublues</field>
  90. <field name="email">manuel@demo.net</field>
  91. <field name="address">schaerbeekstraat</field>
  92. <field name="zip_code">1111</field>
  93. <field name="city">Brussels</field>
  94. <field name="country_id" ref="base.be"/>
  95. <field name="date" eval="datetime.now() - timedelta(days=12)"/>
  96. <field name="source">manual</field>
  97. <field name="ordered_parts">3</field>
  98. <field name="share_product_id" ref="product_product_share_type_2_demo"/>
  99. <field name="lang">en_US</field>
  100. </record>
  101. <record id="share_line_1_demo" model="share.line">
  102. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  103. <field name="share_number">2</field>
  104. <field name="share_unit_price">50</field>
  105. <field name="partner_id" ref="res_partner_cooperator_1_demo"/>
  106. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  107. </record>
  108. <record id="share_line_2_demo" model="share.line">
  109. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  110. <field name="share_number">4</field>
  111. <field name="share_unit_price">50</field>
  112. <field name="partner_id" ref="res_partner_cooperator_2_demo"/>
  113. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  114. </record>
  115. </odoo>