mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-26 15:12:00 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -1,67 +1,82 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="product_attribute_category_design" model="product.attribute.category">
|
||||
<field name="name">Design</field>
|
||||
<field name="sequence">40</field>
|
||||
</record>
|
||||
|
||||
<record id="product_attribute_category_duration" model="product.attribute.category">
|
||||
<field name="name">Duration</field>
|
||||
<field name="sequence">20</field>
|
||||
</record>
|
||||
<record id="product.product_attribute_3" model="product.attribute">
|
||||
|
||||
<record id="product_attribute_category_options" model="product.attribute.category">
|
||||
<field name="name">Options</field>
|
||||
<field name="sequence">30</field>
|
||||
</record>
|
||||
|
||||
<record id="product.pa_duration" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_duration"/>
|
||||
</record>
|
||||
|
||||
<record id="product.pa_options" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_options"/>
|
||||
</record>
|
||||
|
||||
<record id="product_attribute_category_2" model="product.attribute.category">
|
||||
<record id="product.pa_size" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_general_features"/>
|
||||
</record>
|
||||
|
||||
<record id="product.pa_fabric" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_design"/>
|
||||
</record>
|
||||
|
||||
<record id="product_attribute_category_dimensions" model="product.attribute.category">
|
||||
<field name="name">Dimensions</field>
|
||||
<field name="sequence">7</field>
|
||||
</record>
|
||||
|
||||
<record id="product.product_attribute_1" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_general_features"/>
|
||||
<record id="product.pa_legs" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_design"/>
|
||||
</record>
|
||||
<record id="product.product_attribute_2" model="product.attribute">
|
||||
<record id="product.pa_color" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_design"/>
|
||||
</record>
|
||||
|
||||
<record id="product.pa_brand" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_general_features"/>
|
||||
</record>
|
||||
|
||||
<record id="website_sale.product_attribute_brand" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_general_features"/>
|
||||
</record>
|
||||
<record id="product_attribute_value_1" model="product.attribute.value">
|
||||
<field name="name">Apple</field>
|
||||
<field name="attribute_id" ref="website_sale.product_attribute_brand"/>
|
||||
<record id="product.pa_height" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_dimensions"/>
|
||||
</record>
|
||||
|
||||
<record id="product_attribute_7" model="product.attribute">
|
||||
<field name="name">Weight</field>
|
||||
<field name="category_id" ref="product_attribute_category_2"/>
|
||||
</record>
|
||||
<record id="product_attribute_value_7" model="product.attribute.value">
|
||||
<field name="name">308 g</field>
|
||||
<field name="attribute_id" ref="product_attribute_7"/>
|
||||
<record id="product.pa_length" model="product.attribute">
|
||||
<field name="category_id" ref="product_attribute_category_dimensions"/>
|
||||
</record>
|
||||
|
||||
<record id="product_attribute_8" model="product.attribute">
|
||||
<field name="name">Dimensions</field>
|
||||
<field name="category_id" ref="product_attribute_category_2"/>
|
||||
</record>
|
||||
<record id="product_attribute_value_8" model="product.attribute.value">
|
||||
<field name="name">134.7 x 200 x 7.2 mm</field>
|
||||
<field name="attribute_id" ref="product_attribute_8"/>
|
||||
</record>
|
||||
|
||||
<record id="product_6_attribute_1_product_template_attribute_line" model="product.template.attribute.line">
|
||||
<function model="product.product" name="write">
|
||||
<value model="product.product" search="[('product_tmpl_id', '=', ref('product.product_product_6_product_template'))]"/>
|
||||
<value eval="{'barcode': ''}"/>
|
||||
</function>
|
||||
<record id="product_6_length_template_attribute_line" model="product.template.attribute.line">
|
||||
<field name="product_tmpl_id" ref="product.product_product_6_product_template"/>
|
||||
<field name="attribute_id" ref="website_sale.product_attribute_brand"/>
|
||||
<field name="value_ids" eval="[(6,0,[ref('product_attribute_value_1')])]"/>
|
||||
</record>
|
||||
<record id="product_6_attribute_7_product_template_attribute_line" model="product.template.attribute.line">
|
||||
<field name="product_tmpl_id" ref="product.product_product_6_product_template"/>
|
||||
<field name="attribute_id" ref="product_attribute_7"/>
|
||||
<field name="value_ids" eval="[(6,0,[ref('product_attribute_value_7')])]"/>
|
||||
</record>
|
||||
<record id="product_6_attribute_8_template_attribute_line" model="product.template.attribute.line">
|
||||
<field name="product_tmpl_id" ref="product.product_product_6_product_template"/>
|
||||
<field name="attribute_id" ref="product_attribute_8"/>
|
||||
<field name="value_ids" eval="[(6,0,[ref('product_attribute_value_8')])]"/>
|
||||
<field name="attribute_id" ref="product.pa_height"/>
|
||||
<field
|
||||
name="value_ids"
|
||||
eval="[Command.set([
|
||||
ref('product.pav_height_45'),
|
||||
ref('product.pav_height_85'),
|
||||
ref('product.pav_height_100'),
|
||||
])]"/>
|
||||
</record>
|
||||
<function model="product.product" name="write">
|
||||
<value model="product.product" search="[
|
||||
('product_tmpl_id', '=', ref('product.product_product_6_product_template')),
|
||||
('product_template_attribute_value_ids.product_attribute_value_id', '=', ref('product.pav_height_45'))
|
||||
]"/>
|
||||
<value eval="{'barcode': '6016478556509'}"/>
|
||||
</function>
|
||||
|
||||
</odoo>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue