| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<data noupdate="1"> |
| 4 |
<record id="base.group_user" model="res.groups"> |
| 5 |
<field name="implied_ids" eval="[(4, ref('product.group_product_variant'))]"/> |
| 6 |
</record> |
| 7 |
|
| 8 |
<!-- Clothes products --> |
| 9 |
<record model="product.product" id="casual_t_shirt"> |
| 10 |
<field name="name">Casual T-shirt</field> |
| 11 |
<field name="list_price">20.00</field> |
| 12 |
<field name="standard_price">18.0</field> |
| 13 |
<field name="description_sale">Casual t-shirt 100% cotton. Various colors and sizes available.</field> |
| 14 |
<field name="type">consu</field> |
| 15 |
<field name="weight">0.01</field> |
| 16 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 17 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_casual_t_shirt.png"/> |
| 18 |
<field name="available_in_pos" eval="True"/> |
| 19 |
<field name="categ_id" ref="product_category_clothes"/> |
| 20 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_upper')])]" /> |
| 21 |
</record> |
| 22 |
|
| 23 |
<function model="ir.model.data" name="_update_xmlids"> |
| 24 |
<value model="base" eval="[{ |
| 25 |
'xml_id': 'point_of_sale.casual_t_shirt_product_template', |
| 26 |
'record': obj().env.ref('point_of_sale.casual_t_shirt').product_tmpl_id, |
| 27 |
'noupdate': True, |
| 28 |
}]" /> |
| 29 |
</function> |
| 30 |
|
| 31 |
<record model="product.template.attribute.line" id="product_attribute_line_color"> |
| 32 |
<field name="product_tmpl_id" ref="point_of_sale.casual_t_shirt_product_template"/> |
| 33 |
<field name="attribute_id" ref="product.pa_color"/> |
| 34 |
<field |
| 35 |
name="value_ids" |
| 36 |
eval="[Command.set([ |
| 37 |
ref('product.pav_color_black'), |
| 38 |
ref('product.pav_color_white'), |
| 39 |
ref('product.pav_color_purple'), |
| 40 |
ref('product.pav_color_green'), |
| 41 |
])]" /> |
| 42 |
</record> |
| 43 |
|
| 44 |
<record model="product.template.attribute.line" id="product_attribute_line_size"> |
| 45 |
<field name="product_tmpl_id" ref="point_of_sale.casual_t_shirt_product_template"/> |
| 46 |
<field name="attribute_id" ref="product.pa_size"/> |
| 47 |
<field |
| 48 |
name="value_ids" |
| 49 |
eval="[Command.set([ |
| 50 |
ref('product.pav_size_s'), |
| 51 |
ref('product.pav_size_m'), |
| 52 |
ref('product.pav_size_l'), |
| 53 |
ref('product.pav_size_xl'), |
| 54 |
ref('product.pav_size_2xl'), |
| 55 |
ref('product.pav_size_3xl'), |
| 56 |
ref('product.pav_size_4xl'), |
| 57 |
ref('product.pav_size_5xl'), |
| 58 |
])]" /> |
| 59 |
</record> |
| 60 |
<function model="ir.model.data" name="_update_xmlids"> |
| 61 |
<value |
| 62 |
model="base" |
| 63 |
eval="[{ |
| 64 |
'xml_id': 'point_of_sale.casual_t_shirt_black', |
| 65 |
'record': obj().env.ref('point_of_sale.product_attribute_line_color').product_template_value_ids[0], |
| 66 |
'noupdate': True, |
| 67 |
}, |
| 68 |
{ |
| 69 |
'xml_id': 'point_of_sale.casual_t_shirt_s', |
| 70 |
'record': obj().env.ref('point_of_sale.product_attribute_line_size').product_template_value_ids[0], |
| 71 |
'noupdate': True, |
| 72 |
}, |
| 73 |
]"/> |
| 74 |
</function> |
| 75 |
<function model="ir.model.data" name="_update_xmlids"> |
| 76 |
<value model="base" |
| 77 |
eval="[ |
| 78 |
{ |
| 79 |
'xml_id': 'point_of_sale.product_casual_t_shirt', |
| 80 |
'record': obj().env.ref('point_of_sale.casual_t_shirt_product_template')._get_variant_for_combination(obj().env.ref('point_of_sale.casual_t_shirt_s') + obj().env.ref('point_of_sale.casual_t_shirt_black')), |
| 81 |
'noupdate': True, |
| 82 |
}, |
| 83 |
]"/> |
| 84 |
</function> |
| 85 |
|
| 86 |
<record model="product.product" id="t_shirt_slim"> |
| 87 |
<field name="name">T shirt slim</field> |
| 88 |
<field name="list_price">15.00</field> |
| 89 |
<field name="standard_price">12.0</field> |
| 90 |
<field name="description_sale">Casual slim t-shirt 100% cotton. Various sizes available</field> |
| 91 |
<field name="type">consu</field> |
| 92 |
<field name="weight">0.01</field> |
| 93 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 94 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_t_shirt_slim.png"/> |
| 95 |
<field name="available_in_pos" eval="True"/> |
| 96 |
<field name="categ_id" ref="product_category_clothes"/> |
| 97 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_upper')])]" /> |
| 98 |
</record> |
| 99 |
|
| 100 |
<function model="ir.model.data" name="_update_xmlids"> |
| 101 |
<value model="base" eval="[{ |
| 102 |
'xml_id': 'point_of_sale.t_shirt_slim_template', |
| 103 |
'record': obj().env.ref('point_of_sale.t_shirt_slim').product_tmpl_id, |
| 104 |
'noupdate': True, |
| 105 |
}]" /> |
| 106 |
</function> |
| 107 |
|
| 108 |
<record model="product.template.attribute.line" id="product_attribute_line_size_slim_shirt"> |
| 109 |
<field name="product_tmpl_id" ref="point_of_sale.t_shirt_slim_template"/> |
| 110 |
<field name="attribute_id" ref="product.pa_size"/> |
| 111 |
<field |
| 112 |
name="value_ids" |
| 113 |
eval="[Command.set([ |
| 114 |
ref('product.pav_size_s'), |
| 115 |
ref('product.pav_size_m'), |
| 116 |
ref('product.pav_size_l'), |
| 117 |
ref('product.pav_size_xl'), |
| 118 |
ref('product.pav_size_2xl'), |
| 119 |
ref('product.pav_size_3xl'), |
| 120 |
ref('product.pav_size_4xl'), |
| 121 |
ref('product.pav_size_5xl'), |
| 122 |
])]" /> |
| 123 |
</record> |
| 124 |
|
| 125 |
<function model="ir.model.data" name="_update_xmlids"> |
| 126 |
<value |
| 127 |
model="base" |
| 128 |
eval="[{ |
| 129 |
'xml_id': 'point_of_sale.t_shirt_slim_s', |
| 130 |
'record': obj().env.ref('point_of_sale.product_attribute_line_size_slim_shirt').product_template_value_ids[0], |
| 131 |
'noupdate': True, |
| 132 |
}, |
| 133 |
]"/> |
| 134 |
</function> |
| 135 |
<function model="ir.model.data" name="_update_xmlids"> |
| 136 |
<value model="base" |
| 137 |
eval="[ |
| 138 |
{ |
| 139 |
'xml_id': 'point_of_sale.product_t_shirt_slim', |
| 140 |
'record': obj().env.ref('point_of_sale.t_shirt_slim_template')._get_variant_for_combination(obj().env.ref('point_of_sale.t_shirt_slim_s')), |
| 141 |
'noupdate': True, |
| 142 |
}, |
| 143 |
]"/> |
| 144 |
</function> |
| 145 |
|
| 146 |
<record model="product.product" id="t_shirt_black_embroidered"> |
| 147 |
<field name="name">Black embroidered t-shirt</field> |
| 148 |
<field name="list_price">25.00</field> |
| 149 |
<field name="standard_price">22.5</field> |
| 150 |
<field name="description_sale">Casual slim t-shirt 100% cotton with white embroidery. Various sizes available</field> |
| 151 |
<field name="type">consu</field> |
| 152 |
<field name="weight">0.01</field> |
| 153 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 154 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_t_shirt_black_embroidered.png"/> |
| 155 |
<field name="available_in_pos" eval="True"/> |
| 156 |
<field name="categ_id" ref="product_category_clothes"/> |
| 157 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_upper')])]" /> |
| 158 |
</record> |
| 159 |
|
| 160 |
<function model="ir.model.data" name="_update_xmlids"> |
| 161 |
<value model="base" eval="[{ |
| 162 |
'xml_id': 'point_of_sale.t_shirt_black_embroidered_template', |
| 163 |
'record': obj().env.ref('point_of_sale.t_shirt_black_embroidered').product_tmpl_id, |
| 164 |
'noupdate': True, |
| 165 |
}]" /> |
| 166 |
</function> |
| 167 |
|
| 168 |
<record model="product.template.attribute.line" id="product_attribute_line_size_black_shirt"> |
| 169 |
<field name="product_tmpl_id" ref="point_of_sale.t_shirt_black_embroidered_template"/> |
| 170 |
<field name="attribute_id" ref="product.pa_size"/> |
| 171 |
<field |
| 172 |
name="value_ids" |
| 173 |
eval="[Command.set([ |
| 174 |
ref('product.pav_size_s'), |
| 175 |
ref('product.pav_size_m'), |
| 176 |
ref('product.pav_size_l'), |
| 177 |
ref('product.pav_size_xl'), |
| 178 |
ref('product.pav_size_2xl'), |
| 179 |
ref('product.pav_size_3xl'), |
| 180 |
ref('product.pav_size_4xl'), |
| 181 |
ref('product.pav_size_5xl'), |
| 182 |
])]" /> |
| 183 |
</record> |
| 184 |
<function model="ir.model.data" name="_update_xmlids"> |
| 185 |
<value |
| 186 |
model="base" |
| 187 |
eval="[{ |
| 188 |
'xml_id': 'point_of_sale.t_shirt_black_embroidered_s', |
| 189 |
'record': obj().env.ref('point_of_sale.product_attribute_line_size_black_shirt').product_template_value_ids[0], |
| 190 |
'noupdate': True, |
| 191 |
}, |
| 192 |
]"/> |
| 193 |
</function> |
| 194 |
<function model="ir.model.data" name="_update_xmlids"> |
| 195 |
<value model="base" |
| 196 |
eval="[ |
| 197 |
{ |
| 198 |
'xml_id': 'point_of_sale.product_t_shirt_black_embroidered', |
| 199 |
'record': obj().env.ref('point_of_sale.t_shirt_black_embroidered_template')._get_variant_for_combination(obj().env.ref('point_of_sale.t_shirt_black_embroidered_s')), |
| 200 |
'noupdate': True, |
| 201 |
}, |
| 202 |
]"/> |
| 203 |
</function> |
| 204 |
|
| 205 |
<record model="product.template" id="product_template_blue_denim_jeans"> |
| 206 |
<field name="name">Blue Denim Jeans</field> |
| 207 |
<field name="list_price">80.00</field> |
| 208 |
<field name="standard_price">72.0</field> |
| 209 |
<field name="description_sale">5-pocket jeans in cotton denim with a slight stretch for good comfort.</field> |
| 210 |
<field name="type">consu</field> |
| 211 |
<field name="weight">0.01</field> |
| 212 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 213 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_blue_denim_jeans.png"/> |
| 214 |
<field name="available_in_pos" eval="True"/> |
| 215 |
<field name="categ_id" ref="product_category_clothes"/> |
| 216 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_lower')])]" /> |
| 217 |
<field name="attribute_line_ids" eval="[ |
| 218 |
Command.create({ |
| 219 |
'attribute_id': ref('product.pa_size'), |
| 220 |
'value_ids': [ |
| 221 |
Command.set([ |
| 222 |
ref('product.pav_size_s'), |
| 223 |
ref('product.pav_size_m'), |
| 224 |
ref('product.pav_size_l'), |
| 225 |
ref('product.pav_size_xl'), |
| 226 |
ref('product.pav_size_2xl'), |
| 227 |
ref('product.pav_size_3xl'), |
| 228 |
ref('product.pav_size_4xl'), |
| 229 |
ref('product.pav_size_5xl'), |
| 230 |
]) |
| 231 |
] |
| 232 |
}) |
| 233 |
]"/> |
| 234 |
</record> |
| 235 |
|
| 236 |
<function model="ir.model.data" name="_update_xmlids"> |
| 237 |
<value model="base" |
| 238 |
eval="[ |
| 239 |
{ |
| 240 |
'xml_id': 'point_of_sale.product_blue_denim_jeans', |
| 241 |
'record': obj().env.ref('point_of_sale.product_template_blue_denim_jeans').product_variant_ids[0], |
| 242 |
'noupdate': True, |
| 243 |
}, |
| 244 |
]"/> |
| 245 |
</function> |
| 246 |
|
| 247 |
<record model="product.template" id="product_template_blue_denim_jeans_slim"> |
| 248 |
<field name="name">Light Blue Jeans Slim</field> |
| 249 |
<field name="list_price">70.00</field> |
| 250 |
<field name="standard_price">62.0</field> |
| 251 |
<field name="description_sale">5-pocket jeans in cotton denim..</field> |
| 252 |
<field name="type">consu</field> |
| 253 |
<field name="weight">0.01</field> |
| 254 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 255 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_blue_denim_jeans_slim.png"/> |
| 256 |
<field name="available_in_pos" eval="True"/> |
| 257 |
<field name="categ_id" ref="product_category_clothes"/> |
| 258 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_lower')])]" /> |
| 259 |
<field name="attribute_line_ids" eval="[ |
| 260 |
Command.create({ |
| 261 |
'attribute_id': ref('product.pa_size'), |
| 262 |
'value_ids': [ |
| 263 |
Command.set([ |
| 264 |
ref('product.pav_size_s'), |
| 265 |
ref('product.pav_size_m'), |
| 266 |
ref('product.pav_size_l'), |
| 267 |
ref('product.pav_size_xl'), |
| 268 |
ref('product.pav_size_2xl'), |
| 269 |
ref('product.pav_size_3xl'), |
| 270 |
ref('product.pav_size_4xl'), |
| 271 |
ref('product.pav_size_5xl'), |
| 272 |
]) |
| 273 |
] |
| 274 |
}) |
| 275 |
]"/> |
| 276 |
</record> |
| 277 |
|
| 278 |
<function model="ir.model.data" name="_update_xmlids"> |
| 279 |
<value model="base" |
| 280 |
eval="[ |
| 281 |
{ |
| 282 |
'xml_id': 'point_of_sale.product_blue_denim_jeans_slim', |
| 283 |
'record': obj().env.ref('point_of_sale.product_template_blue_denim_jeans_slim').product_variant_ids[0], |
| 284 |
'noupdate': True, |
| 285 |
}, |
| 286 |
]"/> |
| 287 |
</function> |
| 288 |
|
| 289 |
<record model="product.product" id="product_green_hood"> |
| 290 |
<field name="name">Green Hood</field> |
| 291 |
<field name="list_price">15.00</field> |
| 292 |
<field name="standard_price">10.0</field> |
| 293 |
<field name="description_sale">Versatile cotton hoodie with an adjustable drawstring hood and front zipper closure.</field> |
| 294 |
<field name="type">consu</field> |
| 295 |
<field name="weight">0.01</field> |
| 296 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 297 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_hood.png"/> |
| 298 |
<field name="available_in_pos" eval="True"/> |
| 299 |
<field name="categ_id" ref="product_category_clothes"/> |
| 300 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_others')])]" /> |
| 301 |
</record> |
| 302 |
<record model="product.product" id="product_classic_brown_jacket"> |
| 303 |
<field name="name">Classic Brown Jacket</field> |
| 304 |
<field name="list_price">50.00</field> |
| 305 |
<field name="standard_price">45.0</field> |
| 306 |
<field name="description_sale">Lightweight bomber jacket in linen with a ribbed stand-up collar and zip down the front.</field> |
| 307 |
<field name="type">consu</field> |
| 308 |
<field name="weight">0.01</field> |
| 309 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 310 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_classic_brown_jacket.png"/> |
| 311 |
<field name="available_in_pos" eval="True"/> |
| 312 |
<field name="categ_id" ref="product_category_clothes"/> |
| 313 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_upper')])]" /> |
| 314 |
</record> |
| 315 |
<record model="product.product" id="product_crocheted_poncho_unisize"> |
| 316 |
<field name="name">Crocheted Poncho Unisize</field> |
| 317 |
<field name="list_price">25.00</field> |
| 318 |
<field name="standard_price">22.5</field> |
| 319 |
<field name="description_sale">Poncho in a soft, crochet-look knit with a round, gently draped neckline.</field> |
| 320 |
<field name="type">consu</field> |
| 321 |
<field name="weight">0.01</field> |
| 322 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 323 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_crocheted_poncho_unisize.png"/> |
| 324 |
<field name="available_in_pos" eval="True"/> |
| 325 |
<field name="categ_id" ref="product_category_clothes"/> |
| 326 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_upper')])]" /> |
| 327 |
</record> |
| 328 |
<record model="product.product" id="product_odoo_sneakers"> |
| 329 |
<field name="name">Odoo Sneakers</field> |
| 330 |
<field name="list_price">60.40</field> |
| 331 |
<field name="standard_price">54.36</field> |
| 332 |
<field name="description_sale">Trainers in cotton canvas with a padded top edge, tongue and lacing at the front.</field> |
| 333 |
<field name="type">consu</field> |
| 334 |
<field name="weight">0.01</field> |
| 335 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 336 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_odoo_sneakers.png"/> |
| 337 |
<field name="available_in_pos" eval="True"/> |
| 338 |
<field name="categ_id" ref="product_category_clothes"/> |
| 339 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_others')])]" /> |
| 340 |
</record> |
| 341 |
|
| 342 |
<function model="ir.model.data" name="_update_xmlids"> |
| 343 |
<value model="base" eval="[{ |
| 344 |
'xml_id': 'point_of_sale.product_odoo_sneakers_template', |
| 345 |
'record': obj().env.ref('point_of_sale.product_odoo_sneakers').product_tmpl_id, |
| 346 |
'noupdate': True, |
| 347 |
}]" /> |
| 348 |
</function> |
| 349 |
|
| 350 |
<record model="product.template.attribute.line" id="product_attribute_line_size_number"> |
| 351 |
<field name="product_tmpl_id" ref="point_of_sale.product_odoo_sneakers_template"/> |
| 352 |
<field name="attribute_id" ref="product.pa_shoe_size"/> |
| 353 |
<field |
| 354 |
name="value_ids" |
| 355 |
eval="[Command.set([ |
| 356 |
ref('product.pav_shoe_size_39'), |
| 357 |
ref('product.pav_shoe_size_40'), |
| 358 |
ref('product.pav_shoe_size_41'), |
| 359 |
ref('product.pav_shoe_size_42'), |
| 360 |
ref('product.pav_shoe_size_43'), |
| 361 |
])]" /> |
| 362 |
</record> |
| 363 |
|
| 364 |
<record id="jeans_combo" model="product.combo"> |
| 365 |
<field name="name">Jeans Combo</field> |
| 366 |
<field |
| 367 |
name="combo_item_ids" |
| 368 |
eval="[ |
| 369 |
Command.clear(), |
| 370 |
Command.create({ |
| 371 |
'product_id': ref('point_of_sale.product_blue_denim_jeans_slim'), |
| 372 |
'extra_price': 0, |
| 373 |
}), |
| 374 |
Command.create({ |
| 375 |
'product_id': ref('point_of_sale.product_blue_denim_jeans'), |
| 376 |
'extra_price': 0, |
| 377 |
}), |
| 378 |
]" |
| 379 |
/> |
| 380 |
</record> |
| 381 |
|
| 382 |
<record id="tshirt_combo" model="product.combo"> |
| 383 |
<field name="name">T-shirt Combo</field> |
| 384 |
<field |
| 385 |
name="combo_item_ids" |
| 386 |
eval="[ |
| 387 |
Command.clear(), |
| 388 |
Command.create({ |
| 389 |
'product_id': ref('point_of_sale.product_casual_t_shirt'), |
| 390 |
'extra_price': 0, |
| 391 |
}), |
| 392 |
Command.create({ |
| 393 |
'product_id': ref('point_of_sale.product_t_shirt_slim'), |
| 394 |
'extra_price': 0, |
| 395 |
}), |
| 396 |
Command.create({ |
| 397 |
'product_id': ref('point_of_sale.product_t_shirt_black_embroidered'), |
| 398 |
'extra_price': 0, |
| 399 |
}), |
| 400 |
]" |
| 401 |
/> |
| 402 |
</record> |
| 403 |
|
| 404 |
<record model="product.product" id="product_t_shirt_pants"> |
| 405 |
<field name="name">T-shirt & Pants Combo</field> |
| 406 |
<field name="description_sale">Combo</field> |
| 407 |
<field name="type">combo</field> |
| 408 |
<field name="purchase_ok">False</field> |
| 409 |
<field name="weight">0.01</field> |
| 410 |
<field name="list_price">80</field> |
| 411 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 412 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/product_t_shirt_pants.png"/> |
| 413 |
<field name="available_in_pos" eval="True"/> |
| 414 |
<field name="categ_id" ref="product_category_clothes"/> |
| 415 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_others')])]" /> |
| 416 |
<field name="combo_ids" eval="[(6, 0, [ref('jeans_combo'), ref('tshirt_combo')])]"/> |
| 417 |
<field name="taxes_id" eval="[(5,)]"/> |
| 418 |
<field name="supplier_taxes_id" eval="[(5,)]"/> |
| 419 |
</record> |
| 420 |
|
| 421 |
<record model="product.product" id="casual_denim_short"> |
| 422 |
<field name="name">Casual Denim Short</field> |
| 423 |
<field name="list_price">35.00</field> |
| 424 |
<field name="standard_price">31.5</field> |
| 425 |
<field name="description_sale">Casual denim shorts, comfortable and stylish for everyday wear.</field> |
| 426 |
<field name="type">consu</field> |
| 427 |
<field name="weight">0.01</field> |
| 428 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 429 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/casual_denim_short.png"/> |
| 430 |
<field name="available_in_pos" eval="True"/> |
| 431 |
<field name="categ_id" ref="product_category_clothes"/> |
| 432 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_lower')])]" /> |
| 433 |
</record> |
| 434 |
|
| 435 |
<record model="product.product" id="classic_leather_belt"> |
| 436 |
<field name="name">Classic Leather Belt</field> |
| 437 |
<field name="list_price">25.00</field> |
| 438 |
<field name="standard_price">22.50</field> |
| 439 |
<field name="description_sale">Classic leather belt, a must-have accessory for any wardrobe.</field> |
| 440 |
<field name="type">consu</field> |
| 441 |
<field name="weight">0.01</field> |
| 442 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 443 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/classic_leather_belt.png"/> |
| 444 |
<field name="available_in_pos" eval="True"/> |
| 445 |
<field name="categ_id" ref="product_category_clothes"/> |
| 446 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_others')])]" /> |
| 447 |
</record> |
| 448 |
|
| 449 |
<record model="product.product" id="cozy_sweater"> |
| 450 |
<field name="name">Cozy Sweater</field> |
| 451 |
<field name="list_price">50.00</field> |
| 452 |
<field name="standard_price">45.0</field> |
| 453 |
<field name="description_sale">Cozy sweater, perfect for colder weather. Available in various colors.</field> |
| 454 |
<field name="type">consu</field> |
| 455 |
<field name="weight">0.01</field> |
| 456 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 457 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/cozy_sweater.png"/> |
| 458 |
<field name="available_in_pos" eval="True"/> |
| 459 |
<field name="categ_id" ref="product_category_clothes"/> |
| 460 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_upper')])]" /> |
| 461 |
</record> |
| 462 |
|
| 463 |
<record model="product.product" id="leather_jacket"> |
| 464 |
<field name="name">Leather Jacket</field> |
| 465 |
<field name="list_price">120.00</field> |
| 466 |
<field name="standard_price">108.0</field> |
| 467 |
<field name="description_sale">Stylish leather jacket, durable and fashionable for all occasions.</field> |
| 468 |
<field name="type">consu</field> |
| 469 |
<field name="weight">0.01</field> |
| 470 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 471 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/leather_jacket.png"/> |
| 472 |
<field name="available_in_pos" eval="True"/> |
| 473 |
<field name="categ_id" ref="product_category_clothes"/> |
| 474 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_upper')])]" /> |
| 475 |
</record> |
| 476 |
|
| 477 |
<record model="product.product" id="summer_hat"> |
| 478 |
<field name="name">Summer Hat</field> |
| 479 |
<field name="list_price">20.00</field> |
| 480 |
<field name="standard_price">18.0</field> |
| 481 |
<field name="description_sale">Summer hat, ideal for beach days and sunny weather.</field> |
| 482 |
<field name="type">consu</field> |
| 483 |
<field name="weight">0.01</field> |
| 484 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 485 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/summer_hat.png"/> |
| 486 |
<field name="available_in_pos" eval="True"/> |
| 487 |
<field name="categ_id" ref="product_category_clothes"/> |
| 488 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_others')])]" /> |
| 489 |
</record> |
| 490 |
|
| 491 |
<record model="product.product" id="jean_jacket"> |
| 492 |
<field name="name">Jean Jacket</field> |
| 493 |
<field name="list_price">65.00</field> |
| 494 |
<field name="standard_price">58.5</field> |
| 495 |
<field name="description_sale">Vintage jean jacket, a timeless piece for any casual outfit.</field> |
| 496 |
<field name="type">consu</field> |
| 497 |
<field name="weight">0.01</field> |
| 498 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 499 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/jean_jacket.png"/> |
| 500 |
<field name="available_in_pos" eval="True"/> |
| 501 |
<field name="categ_id" ref="product_category_clothes"/> |
| 502 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_upper')])]" /> |
| 503 |
</record> |
| 504 |
|
| 505 |
<record model="product.product" id="sport_shoes"> |
| 506 |
<field name="name">Sport Shoes</field> |
| 507 |
<field name="list_price">80.00</field> |
| 508 |
<field name="standard_price">72.0</field> |
| 509 |
<field name="description_sale">Athletic sport shoes, designed for comfort and performance.</field> |
| 510 |
<field name="type">consu</field> |
| 511 |
<field name="weight">0.01</field> |
| 512 |
<field name="uom_id" ref="uom.product_uom_unit"/> |
| 513 |
<field name="image_1920" type="base64" file="point_of_sale/static/img/sport_shoes.png"/> |
| 514 |
<field name="available_in_pos" eval="True"/> |
| 515 |
<field name="categ_id" ref="product_category_clothes"/> |
| 516 |
<field name="pos_categ_ids" eval="[(6, 0, [ref('pos_category_others')])]" /> |
| 517 |
</record> |
| 518 |
|
| 519 |
<function model="ir.model.data" name="_update_xmlids"> |
| 520 |
<value model="base" eval="[{ |
| 521 |
'xml_id': 'point_of_sale.sport_shoes_template', |
| 522 |
'record': obj().env.ref('point_of_sale.sport_shoes').product_tmpl_id, |
| 523 |
'noupdate': True, |
| 524 |
}]" /> |
| 525 |
</function> |
| 526 |
|
| 527 |
<record model="product.template.attribute.line" id="product_attribute_line_sport_shoes"> |
| 528 |
<field name="product_tmpl_id" ref="point_of_sale.sport_shoes_template"/> |
| 529 |
<field name="attribute_id" ref="product.pa_shoe_size"/> |
| 530 |
<field |
| 531 |
name="value_ids" |
| 532 |
eval="[Command.set([ |
| 533 |
ref('product.pav_shoe_size_39'), |
| 534 |
ref('product.pav_shoe_size_40'), |
| 535 |
ref('product.pav_shoe_size_41'), |
| 536 |
ref('product.pav_shoe_size_42'), |
| 537 |
ref('product.pav_shoe_size_43'), |
| 538 |
])]" /> |
| 539 |
</record> |
| 540 |
</data> |
| 541 |
</odoo> |