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.

59 lines
2.8 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="product_product_share_type_1_demo" model="product.product">
  8. <field name="product_tmpl_id" ref="beesdoo_easy_my_coop.share_a"/>
  9. <field name="default_code">share_a</field>
  10. </record>
  11. <record id="share_line_1_demo" model="share.line">
  12. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  13. <field name="share_number">2</field>
  14. <field name="share_unit_price">50</field>
  15. <field name="partner_id" ref="easy_my_coop.res_partner_cooperator_1_demo"/>
  16. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  17. </record>
  18. <record id="share_line_2_demo" model="share.line">
  19. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  20. <field name="share_number">4</field>
  21. <field name="share_unit_price">50</field>
  22. <field name="partner_id" ref="easy_my_coop.res_partner_cooperator_2_demo"/>
  23. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  24. </record>
  25. <record id="share_line_3_demo" model="share.line">
  26. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  27. <field name="share_number">2</field>
  28. <field name="share_unit_price">50</field>
  29. <field name="partner_id" ref="easy_my_coop.res_partner_cooperator_3_demo"/>
  30. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  31. </record>
  32. <record id="share_line_4_demo" model="share.line">
  33. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  34. <field name="share_number">6</field>
  35. <field name="share_unit_price">50</field>
  36. <field name="partner_id" ref="easy_my_coop.res_partner_cooperator_4_demo"/>
  37. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  38. </record>
  39. <record id="share_line_5_demo" model="share.line">
  40. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  41. <field name="share_number">2</field>
  42. <field name="share_unit_price">50</field>
  43. <field name="partner_id" ref="easy_my_coop.res_partner_cooperator_5_demo"/>
  44. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  45. </record>
  46. <record id="share_line_6_demo" model="share.line">
  47. <field name="share_product_id" ref="product_product_share_type_1_demo"/>
  48. <field name="share_number">4</field>
  49. <field name="share_unit_price">50</field>
  50. <field name="partner_id" ref="easy_my_coop.res_partner_cooperator_6_demo"/>
  51. <field name="effective_date" eval="datetime.now() - timedelta(days=120)"/>
  52. </record>
  53. </odoo>