point_of_sale_demo.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- Partners with Barcodes -->
  4. <record id='base.res_partner_1' model='res.partner'> <field name='barcode'>0420100000005</field> </record>
  5. <record id='base.res_partner_2' model='res.partner'> <field name='barcode'>0420200000004</field> </record>
  6. <record id='base.res_partner_3' model='res.partner'> <field name='barcode'>0420300000003</field> </record>
  7. <record id='base.res_partner_4' model='res.partner'> <field name='barcode'>0420400000002</field> </record>
  8. <record id='base.res_partner_4' model='res.partner'> <field name='barcode'>0420700000009</field> </record>
  9. <record id='base.res_partner_10' model='res.partner'> <field name='barcode'>0421000000003</field> </record>
  10. <record id='base.res_partner_12' model='res.partner'> <field name='barcode'>0420800000008</field> </record>
  11. <record id='base.res_partner_18' model='res.partner'> <field name='barcode'>0421800000005</field> </record>
  12. <record id="base.user_root" model="res.users">
  13. <field name="barcode">0410100000006</field>
  14. <field name="groups_id" eval="[(4,ref('group_pos_manager'))]"/>
  15. </record>
  16. <record id="base.user_demo" model="res.users">
  17. <field name="groups_id" eval="[(4, ref('group_pos_user'))]"/>
  18. </record>
  19. <!-- Resource: pos.category -->
  20. <record id="pos_category_miscellaneous" model="pos.category">
  21. <field name="name">Miscellaneous</field>
  22. </record>
  23. <record id="pos_category_desks" model="pos.category">
  24. <field name="name">Desks</field>
  25. </record>
  26. <record id="pos_category_chairs" model="pos.category">
  27. <field name="name">Chairs</field>
  28. </record>
  29. <record model="pos.config" id="pos_config_main">
  30. <field name="iface_start_categ_id" ref="pos_category_chairs"/>
  31. <field name="start_category">True</field>
  32. </record>
  33. <!-- Resource: product.product -->
  34. <record id="stock.product_cable_management_box" model="product.product">
  35. <field name="pos_categ_id" ref="point_of_sale.pos_category_miscellaneous"/>
  36. </record>
  37. <record id="wall_shelf" model="product.product">
  38. <field name="available_in_pos">True</field>
  39. <field name="list_price">1.98</field>
  40. <field name="name">Wall Shelf Unit</field>
  41. <field name="default_code">FURN_0009</field>
  42. <field name="type">product</field>
  43. <field name="weight">0.01</field>
  44. <field name="to_weight">True</field>
  45. <field name="barcode">2100002000003</field>
  46. <field name="taxes_id" eval='[(5,)]'/>
  47. <field name="categ_id" ref="product.product_category_5"/>
  48. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  49. <field name="uom_id" ref="uom.product_uom_unit" />
  50. <field name="uom_po_id" ref="uom.product_uom_unit" />
  51. <field name="image_1920" type="base64" file="point_of_sale/static/img/wall_shelf_unit.png"/>
  52. </record>
  53. <record id="small_shelf" model="product.product">
  54. <field name="available_in_pos">True</field>
  55. <field name="list_price">2.83</field>
  56. <field name="name">Small Shelf</field>
  57. <field name="default_code">FURN_0008</field>
  58. <field name="type">product</field>
  59. <field name="weight">0.01</field>
  60. <field name="taxes_id" eval='[(5,)]'/>
  61. <field name="categ_id" ref="product.product_category_5"/>
  62. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  63. <field name="to_weight">True</field>
  64. <field name="uom_id" ref="uom.product_uom_unit" />
  65. <field name="uom_po_id" ref="uom.product_uom_unit" />
  66. <field name="image_1920" type="base64" file="point_of_sale/static/img/small_shelf.png"/>
  67. </record>
  68. <record id="letter_tray" model="product.product">
  69. <field name="available_in_pos">True</field>
  70. <field name="list_price">4.80</field>
  71. <field name="name">Letter Tray</field>
  72. <field name="default_code">FURN_0004</field>
  73. <field name="type">product</field>
  74. <field name="weight">0.01</field>
  75. <field name="to_weight">True</field>
  76. <field name="categ_id" ref="product.product_category_5"/>
  77. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  78. <field name="uom_id" ref="uom.product_uom_unit" />
  79. <field name="uom_po_id" ref="uom.product_uom_unit" />
  80. <field name="image_1920" type="base64" file="point_of_sale/static/img/letter_tray.png"/>
  81. </record>
  82. <record id="desk_organizer" model="product.product">
  83. <field name="available_in_pos">True</field>
  84. <field name="list_price">5.10</field>
  85. <field name="name">Desk Organizer</field>
  86. <field name="default_code">FURN_0001</field>
  87. <field name="to_weight">True</field>
  88. <field name="barcode">2300001000008</field>
  89. <field name="type">product</field>
  90. <field name="weight">0.01</field>
  91. <field name="categ_id" ref="product.product_category_5"/>
  92. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  93. <field name="uom_id" ref="uom.product_uom_unit" />
  94. <field name="uom_po_id" ref="uom.product_uom_unit" />
  95. <field name="image_1920" type="base64" file="point_of_sale/static/img/desk_organizer.png"/>
  96. <field name="taxes_id" eval='[(5,)]'/> <!-- no taxes -->
  97. </record>
  98. <function model="ir.model.data" name="_update_xmlids">
  99. <value model="base" eval="[{
  100. 'xml_id': 'point_of_sale.desk_organizer_product_template',
  101. 'record': obj().env.ref('point_of_sale.desk_organizer').product_tmpl_id,
  102. 'noupdate': True,
  103. }]"/>
  104. </function>
  105. <record id="size_attribute" model="product.attribute">
  106. <field name="name">Size</field>
  107. <field name="sequence">30</field>
  108. <field name="display_type">radio</field>
  109. <field name="create_variant">no_variant</field>
  110. </record>
  111. <record id="size_attribute_s" model="product.attribute.value">
  112. <field name="name">S</field>
  113. <field name="sequence">1</field>
  114. <field name="attribute_id" ref="size_attribute"/>
  115. </record>
  116. <record id="size_attribute_m" model="product.attribute.value">
  117. <field name="name">M</field>
  118. <field name="sequence">2</field>
  119. <field name="attribute_id" ref="size_attribute"/>
  120. </record>
  121. <record id="size_attribute_l" model="product.attribute.value">
  122. <field name="name">L</field>
  123. <field name="sequence">3</field>
  124. <field name="attribute_id" ref="size_attribute"/>
  125. </record>
  126. <record id="desk_organizer_size" model="product.template.attribute.line">
  127. <field name="product_tmpl_id" ref="point_of_sale.desk_organizer_product_template"/>
  128. <field name="attribute_id" ref="size_attribute"/>
  129. <field name="value_ids" eval="[(6, 0, [ref('size_attribute_s'), ref('size_attribute_m'), ref('size_attribute_l')])]"/>
  130. </record>
  131. <record id="fabric_attribute" model="product.attribute">
  132. <field name="name">Fabric</field>
  133. <field name="sequence">40</field>
  134. <field name="display_type">select</field>
  135. <field name="create_variant">no_variant</field>
  136. </record>
  137. <record id="fabric_attribute_plastic" model="product.attribute.value">
  138. <field name="name">Plastic</field>
  139. <field name="sequence">1</field>
  140. <field name="attribute_id" ref="fabric_attribute"/>
  141. </record>
  142. <record id="fabric_attribute_leather" model="product.attribute.value">
  143. <field name="name">Leather</field>
  144. <field name="sequence">2</field>
  145. <field name="attribute_id" ref="fabric_attribute"/>
  146. </record>
  147. <record id="fabric_attribute_custom" model="product.attribute.value">
  148. <field name="name">Custom</field>
  149. <field name="sequence">3</field>
  150. <field name="attribute_id" ref="fabric_attribute"/>
  151. <field name="is_custom">True</field>
  152. </record>
  153. <record id="desk_organizer_fabric" model="product.template.attribute.line">
  154. <field name="product_tmpl_id" ref="point_of_sale.desk_organizer_product_template"/>
  155. <field name="attribute_id" ref="fabric_attribute"/>
  156. <field name="value_ids" eval="[(6, 0, [ref('fabric_attribute_plastic'), ref('fabric_attribute_leather'), ref('fabric_attribute_custom')])]"/>
  157. </record>
  158. <record id="magnetic_board" model="product.product">
  159. <field name="available_in_pos">True</field>
  160. <field name="list_price">1.98</field>
  161. <field name="name">Magnetic Board</field>
  162. <field name="default_code">FURN_0005</field>
  163. <field name="type">product</field>
  164. <field name="weight">0.01</field>
  165. <field name="barcode">2301000000006</field>
  166. <field name="to_weight">True</field>
  167. <field name="categ_id" ref="product.product_category_5"/>
  168. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  169. <field name="uom_id" ref="uom.product_uom_unit" />
  170. <field name="uom_po_id" ref="uom.product_uom_unit" />
  171. <field name="image_1920" type="base64" file="point_of_sale/static/img/magnetic_board.png"/>
  172. </record>
  173. <record id="monitor_stand" model="product.product">
  174. <field name="available_in_pos">True</field>
  175. <field name="list_price">3.19</field>
  176. <field name="name">Monitor Stand</field>
  177. <field name="default_code">FURN_0006</field>
  178. <field name="type">product</field>
  179. <field name="weight">0.01</field>
  180. <field name="to_weight">True</field>
  181. <field name="categ_id" ref="product.product_category_5"/>
  182. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  183. <field name="uom_id" ref="uom.product_uom_unit" />
  184. <field name="uom_po_id" ref="uom.product_uom_unit" />
  185. <field name="image_1920" type="base64" file="point_of_sale/static/img/monitor_stand.png"/>
  186. </record>
  187. <record id="desk_pad" model="product.product">
  188. <field name="available_in_pos">True</field>
  189. <field name="list_price">1.98</field>
  190. <field name="name">Desk Pad</field>
  191. <field name="default_code">FURN_0002</field>
  192. <field name="type">product</field>
  193. <field name="weight">0.01</field>
  194. <field name="to_weight">True</field>
  195. <field name="categ_id" ref="product.product_category_5"/>
  196. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  197. <field name="uom_id" ref="uom.product_uom_unit" />
  198. <field name="uom_po_id" ref="uom.product_uom_unit" />
  199. <field name="image_1920" type="base64" file="point_of_sale/static/img/desk_pad.png"/>
  200. </record>
  201. <record id="whiteboard" model="product.product">
  202. <field name="available_in_pos">True</field>
  203. <field name="list_price">1.70</field>
  204. <field name="name">Whiteboard</field>
  205. <field name="to_weight">True</field>
  206. <field name="type">product</field>
  207. <field name="weight">0.01</field>
  208. <field name="categ_id" ref="product.product_category_5"/>
  209. <field name="uom_id" ref="uom.product_uom_unit" />
  210. <field name="uom_po_id" ref="uom.product_uom_unit" />
  211. <field name="image_1920" type="base64" file="point_of_sale/static/img/whiteboard.png"/>
  212. </record>
  213. <record id="led_lamp" model="product.product">
  214. <field name="available_in_pos">True</field>
  215. <field name="list_price">0.90</field>
  216. <field name="name">LED Lamp</field>
  217. <field name="default_code">FURN_0003</field>
  218. <field name="type">product</field>
  219. <field name="weight">0.01</field>
  220. <field name="to_weight">True</field>
  221. <field name="categ_id" ref="product.product_category_5"/>
  222. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  223. <field name="uom_id" ref="uom.product_uom_unit" />
  224. <field name="uom_po_id" ref="uom.product_uom_unit" />
  225. <field name="image_1920" type="base64" file="point_of_sale/static/img/led_lamp.png"/>
  226. </record>
  227. <record id="newspaper_rack" model="product.product">
  228. <field name="available_in_pos">True</field>
  229. <field name="list_price">1.28</field>
  230. <field name="name">Newspaper Rack</field>
  231. <field name="default_code">FURN_0007</field>
  232. <field name="type">product</field>
  233. <field name="weight">0.01</field>
  234. <field name="to_weight">True</field>
  235. <field name="barcode">2100001000004</field>
  236. <field name="categ_id" ref="product.product_category_5"/>
  237. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  238. <field name="uom_id" ref="uom.product_uom_unit" />
  239. <field name="uom_po_id" ref="uom.product_uom_unit" />
  240. <field name="image_1920" type="base64" file="point_of_sale/static/img/newspaper_stand.png"/>
  241. </record>
  242. <record id="whiteboard_pen" model="product.product">
  243. <field name="available_in_pos">True</field>
  244. <field name="list_price">1.20</field>
  245. <field name="name">Whiteboard Pen</field>
  246. <field name="weight">0.01</field>
  247. <field name="default_code">CONS_0001</field>
  248. <field name="to_weight">True</field>
  249. <field name="categ_id" ref="product.product_category_consumable"/>
  250. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  251. <field name="uom_id" ref="uom.product_uom_unit" />
  252. <field name="uom_po_id" ref="uom.product_uom_unit" />
  253. <field name="image_1920" type="base64" file="point_of_sale/static/img/whiteboard_pen.png"/>
  254. </record>
  255. <record id="product.product_product_1" model="product.product">
  256. <field name="available_in_pos" eval="True"/>
  257. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  258. </record>
  259. <record id="product.product_product_2" model="product.product">
  260. <field name="available_in_pos" eval="True"/>
  261. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  262. </record>
  263. <record id="product.product_delivery_01" model="product.product">
  264. <field name="available_in_pos" eval="True"/>
  265. <field name="pos_categ_id" ref="pos_category_chairs"/>
  266. </record>
  267. <record id="product.product_delivery_02" model="product.product">
  268. <field name="available_in_pos" eval="True"/>
  269. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  270. </record>
  271. <record id="product.product_order_01" model="product.product">
  272. <field name="available_in_pos" eval="True"/>
  273. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  274. </record>
  275. <record id="product.product_product_3" model="product.product">
  276. <field name="available_in_pos" eval="True"/>
  277. <field name="pos_categ_id" ref="pos_category_desks"/>
  278. </record>
  279. <record id="product.product_product_4_product_template" model="product.template">
  280. <field name="available_in_pos" eval="True"/>
  281. <field name="pos_categ_id" ref="pos_category_desks"/>
  282. </record>
  283. <record id="product.product_product_5" model="product.product">
  284. <field name="available_in_pos" eval="True"/>
  285. <field name="pos_categ_id" ref="pos_category_desks"/>
  286. </record>
  287. <record id="product.product_product_6" model="product.product">
  288. <field name="available_in_pos" eval="True"/>
  289. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  290. </record>
  291. <record id="product.product_product_7" model="product.product">
  292. <field name="available_in_pos" eval="True"/>
  293. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  294. </record>
  295. <record id="product.product_product_8" model="product.product">
  296. <field name="available_in_pos" eval="True"/>
  297. <field name="pos_categ_id" ref="pos_category_desks"/>
  298. </record>
  299. <record id="product.product_product_9" model="product.product">
  300. <field name="available_in_pos" eval="True"/>
  301. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  302. </record>
  303. <record id="product.product_product_10" model="product.product">
  304. <field name="available_in_pos" eval="True"/>
  305. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  306. </record>
  307. <record id="product.product_product_11" model="product.product">
  308. <field name="available_in_pos" eval="True"/>
  309. <field name="pos_categ_id" ref="pos_category_chairs"/>
  310. </record>
  311. <record id="product.product_product_11b" model="product.product">
  312. <field name="available_in_pos" eval="True"/>
  313. <field name="pos_categ_id" ref="pos_category_chairs"/>
  314. </record>
  315. <record id="product.product_product_12" model="product.product">
  316. <field name="available_in_pos" eval="True"/>
  317. <field name="pos_categ_id" ref="pos_category_chairs"/>
  318. </record>
  319. <record id="product.product_product_13" model="product.product">
  320. <field name="available_in_pos" eval="True"/>
  321. <field name="pos_categ_id" ref="pos_category_desks"/>
  322. </record>
  323. <record id="product.product_product_16" model="product.product">
  324. <field name="available_in_pos" eval="True"/>
  325. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  326. </record>
  327. <record id="product.product_product_20" model="product.product">
  328. <field name="available_in_pos" eval="True"/>
  329. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  330. </record>
  331. <record id="product.product_product_22" model="product.product">
  332. <field name="available_in_pos" eval="True"/>
  333. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  334. </record>
  335. <record id="product.product_product_24" model="product.product">
  336. <field name="available_in_pos" eval="True"/>
  337. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  338. </record>
  339. <record id="product.product_product_25" model="product.product">
  340. <field name="available_in_pos" eval="True"/>
  341. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  342. </record>
  343. <record id="product.product_product_27" model="product.product">
  344. <field name="available_in_pos" eval="True"/>
  345. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  346. </record>
  347. <record id="product.consu_delivery_03" model="product.product">
  348. <field name="available_in_pos" eval="True"/>
  349. <field name="pos_categ_id" ref="pos_category_desks"/>
  350. </record>
  351. <record id="product.consu_delivery_02" model="product.product">
  352. <field name="available_in_pos" eval="True"/>
  353. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  354. </record>
  355. <record id="product.consu_delivery_01" model="product.product">
  356. <field name="available_in_pos" eval="True"/>
  357. <field name="pos_categ_id" ref="pos_category_miscellaneous"/>
  358. </record>
  359. </odoo>