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.

83 lines
3.7 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="beesdoo_shift_cooperative_status_1_demo" model="cooperative.status">
  8. <field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_1_demo" />
  9. <field name="info_session" eval="True" />
  10. <field name="info_session_date" eval="datetime.now() - timedelta(days=58)" />
  11. <field name="super" eval="True" />
  12. <field name="sr">2</field>
  13. <field name="working_mode">regular</field>
  14. </record>
  15. <record id="beesdoo_shift_cooperative_status_2_demo" model="cooperative.status">
  16. <field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_2_demo" />
  17. <field name="info_session" eval="False" />
  18. <field name="sr">2</field>
  19. <field name="working_mode">irregular</field>
  20. <field name="irregular_start_date" eval="datetime.now() - timedelta(days=3)" />
  21. </record>
  22. <record id="beesdoo_shift_cooperative_status_3_demo" model="cooperative.status">
  23. <field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_3_demo" />
  24. <field name="info_session" eval="True" />
  25. <field name="info_session_date" eval="datetime.now() - timedelta(days=98)" />
  26. <field name="sc">2</field>
  27. <field name="working_mode">regular</field>
  28. </record>
  29. <record id="beesdoo_shift_cooperative_status_4_demo" model="cooperative.status">
  30. <field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_4_demo" />
  31. <field name="sr">2</field>
  32. <field name="working_mode">irregular</field>
  33. <field name="irregular_start_date" eval="datetime.now() - timedelta(days=6)" />
  34. </record>
  35. <record id="beesdoo_shift_cooperative_status_5_demo" model="cooperative.status">
  36. <field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_5_demo" />
  37. <field name="sr">2</field>
  38. <field name="working_mode">regular</field>
  39. </record>
  40. <record id="beesdoo_shift_cooperative_status_6_demo" model="cooperative.status">
  41. <field name="cooperator_id" ref="easy_my_coop.res_partner_cooperator_6_demo" />
  42. <field name="info_session" eval="True" />
  43. <field name="info_session_date" eval="datetime.now() - timedelta(days=36)" />
  44. <field name="sc">2</field>
  45. <field name="working_mode">regular</field>
  46. </record>
  47. <!--WARNING : Related field must be set manually, otherwise they are not stored -->
  48. <record id="easy_my_coop.res_partner_cooperator_1_demo" model="res.partner">
  49. <field name="working_mode">regular</field>
  50. <field name="cooperator_type">share_a</field>
  51. </record>
  52. <record id="easy_my_coop.res_partner_cooperator_2_demo" model="res.partner">
  53. <field name="working_mode">irregular</field>
  54. <field name="cooperator_type">share_a</field>
  55. </record>
  56. <record id="easy_my_coop.res_partner_cooperator_3_demo" model="res.partner">
  57. <field name="working_mode">regular</field>
  58. <field name="cooperator_type">share_a</field>
  59. </record>
  60. <record id="easy_my_coop.res_partner_cooperator_4_demo" model="res.partner">
  61. <field name="working_mode">irregular</field>
  62. <field name="cooperator_type">share_a</field>
  63. </record>
  64. <record id="easy_my_coop.res_partner_cooperator_5_demo" model="res.partner">
  65. <field name="working_mode">regular</field>
  66. <field name="cooperator_type">share_a</field>
  67. </record>
  68. <record id="easy_my_coop.res_partner_cooperator_6_demo" model="res.partner">
  69. <field name="working_mode">regular</field>
  70. <field name="cooperator_type">share_a</field>
  71. </record>
  72. </odoo>