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.

161 lines
6.9 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_worker_1_demo" model="res.partner">
  8. <field name="name">Fernand Peso</field>
  9. <field name="customer" eval="True"/>
  10. <!-- <field name="eater">worker_eater</field>-->
  11. <field name="is_company" eval="False"/>
  12. <field name="email">fernand_peso@demode.net</field>
  13. <field name="street">Avenue des Bas-de-Callanques, 15</field>
  14. <field name="city">Etterbeek</field>
  15. <field name="zip">1040</field>
  16. <field name="country_id" ref="base.be"/>
  17. <field name="working_mode">regular</field>
  18. <field name="is_worker" eval="True"/>
  19. <!-- <field name="cooperative_status_ids"-->
  20. <!-- eval="[(6, 0, [ref('beesdoo_shift.cooperative_status_1_demo')])]"/>-->
  21. </record>
  22. <record id="res_partner_worker_2_demo" model="res.partner">
  23. <field name="name">Dupont Dupont</field>
  24. <field name="customer" eval="True"/>
  25. <!-- <field name="eater">worker_eater</field>-->
  26. <field name="is_company" eval="False"/>
  27. <field name="email">d_dupont@demode.net</field>
  28. <field name="street">Rue des sables, 20</field>
  29. <field name="city">Bruxelles</field>
  30. <field name="zip">10000</field>
  31. <field name="country_id" ref="base.be"/>
  32. <field name="working_mode">irregular</field>
  33. <field name="is_worker" eval="True"/>
  34. <!-- <field name="cooperative_status_ids"-->
  35. <!-- eval="[(6, 0, [ref('beesdoo_shift.cooperative_status_2_demo')])]"/>-->
  36. </record>
  37. <record id="res_partner_worker_3_demo" model="res.partner">
  38. <field name="name">Ronan Le Gall</field>
  39. <field name="customer" eval="True"/>
  40. <!-- <field name="eater">worker_eater</field>-->
  41. <field name="is_company" eval="False"/>
  42. <field name="email">ronan_gall@demode.net</field>
  43. <field name="street">Rue des pecheurs, 23</field>
  44. <field name="city">Landudec</field>
  45. <field name="zip">29710</field>
  46. <field name="country_id" ref="base.fr"/>
  47. <field name="working_mode">regular</field>
  48. <field name="is_worker" eval="True"/>
  49. <!-- <field name="cooperative_status_ids"-->
  50. <!-- eval="[(6, 0, [ref('beesdoo_shift.cooperative_status_3_demo')])]"/>-->
  51. </record>
  52. <record id="res_partner_worker_4_demo" model="res.partner">
  53. <field name="name">Elouan Bees</field>
  54. <field name="customer" eval="True"/>
  55. <!-- <field name="eater">worker_eater</field>-->
  56. <field name="is_company" eval="False"/>
  57. <field name="email">elouan_bees@demode.net</field>
  58. <field name="street">Rue Wéry, 15</field>
  59. <field name="city">Ixelles</field>
  60. <field name="zip">1050</field>
  61. <field name="country_id" ref="base.be"/>
  62. <field name="working_mode">irregular</field>
  63. <field name="is_worker" eval="True"/>
  64. <!-- <field name="cooperative_status_ids"-->
  65. <!-- eval="[(6, 0, [ref('beesdoo_shift.cooperative_status_4_demo')])]"/>-->
  66. </record>
  67. <record id="res_partner_worker_5_demo" model="res.partner">
  68. <field name="name">Anne de Marchalo</field>
  69. <field name="customer" eval="True"/>
  70. <!-- <field name="eater">worker_eater</field>-->
  71. <field name="is_company" eval="False"/>
  72. <field name="email">anne_marchalo@demode.net</field>
  73. <field name="street">Rue du Wels, 6</field>
  74. <field name="city">Nantes</field>
  75. <field name="zip">44000</field>
  76. <field name="country_id" ref="base.fr"/>
  77. <field name="working_mode">regular</field>
  78. <field name="is_worker" eval="True"/>
  79. <!-- <field name="cooperative_status_ids"-->
  80. <!-- eval="[(6, 0, [ref('beesdoo_shift.cooperative_status_5_demo')])]"/>-->
  81. </record>
  82. <record id="res_partner_worker_6_demo" model="res.partner">
  83. <field name="name">Jean Beaumont</field>
  84. <field name="customer" eval="True"/>
  85. <!-- <field name="eater">worker_eater</field>-->
  86. <field name="is_company" eval="False"/>
  87. <field name="email">jean_beaumont@demode.net</field>
  88. <field name="street">Rue de la Jungle, 8</field>
  89. <field name="city">St-Gilles</field>
  90. <field name="zip">1060</field>
  91. <field name="country_id" ref="base.be"/>
  92. <field name="working_mode">regular</field>
  93. <field name="is_worker" eval="True"/>
  94. <!-- <field name="cooperative_status_ids"-->
  95. <!-- eval="[(6, 0, [ref('beesdoo_shift.cooperative_status_6_demo')])]"/>-->
  96. </record>
  97. <record id="cooperative_status_1_demo" model="cooperative.status">
  98. <field name="cooperator_id"
  99. ref="res_partner_worker_1_demo"/>
  100. <field name="info_session" eval="True"/>
  101. <field name="info_session_date"
  102. eval="datetime.now() - timedelta(days=58)"/>
  103. <field name="super" eval="True"/>
  104. <field name="sr">2</field>
  105. <field name="working_mode">regular</field>
  106. </record>
  107. <record id="cooperative_status_2_demo" model="cooperative.status">
  108. <field name="cooperator_id"
  109. ref="res_partner_worker_2_demo"/>
  110. <field name="info_session" eval="False"/>
  111. <field name="sr">2</field>
  112. <field name="working_mode">irregular</field>
  113. <field name="irregular_start_date"
  114. eval="datetime.now() - timedelta(days=3)"/>
  115. </record>
  116. <record id="cooperative_status_3_demo" model="cooperative.status">
  117. <field name="cooperator_id"
  118. ref="res_partner_worker_3_demo"/>
  119. <field name="info_session" eval="True"/>
  120. <field name="info_session_date"
  121. eval="datetime.now() - timedelta(days=98)"/>
  122. <field name="sc">2</field>
  123. <field name="working_mode">regular</field>
  124. </record>
  125. <record id="cooperative_status_4_demo" model="cooperative.status">
  126. <field name="cooperator_id"
  127. ref="res_partner_worker_4_demo"/>
  128. <field name="sr">2</field>
  129. <field name="working_mode">irregular</field>
  130. <field name="irregular_start_date"
  131. eval="datetime.now() - timedelta(days=6)"/>
  132. </record>
  133. <record id="cooperative_status_5_demo" model="cooperative.status">
  134. <field name="cooperator_id"
  135. ref="res_partner_worker_5_demo"/>
  136. <field name="sr">2</field>
  137. <field name="working_mode">regular</field>
  138. </record>
  139. <record id="cooperative_status_6_demo" model="cooperative.status">
  140. <field name="cooperator_id"
  141. ref="res_partner_worker_6_demo"/>
  142. <field name="info_session" eval="True"/>
  143. <field name="info_session_date"
  144. eval="datetime.now() - timedelta(days=36)"/>
  145. <field name="sc">2</field>
  146. <field name="working_mode">regular</field>
  147. </record>
  148. </odoo>