summaryrefslogtreecommitdiff
path: root/addons/test_website_slides_full/data
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/test_website_slides_full/data
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/test_website_slides_full/data')
-rw-r--r--addons/test_website_slides_full/data/product_demo.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/addons/test_website_slides_full/data/product_demo.xml b/addons/test_website_slides_full/data/product_demo.xml
new file mode 100644
index 00000000..8673b4f9
--- /dev/null
+++ b/addons/test_website_slides_full/data/product_demo.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo><data noupdate="1">
+ <record id="product_course_channel_1_option_0" model="product.product">
+ <field name="name">Water can</field>
+ <field name="standard_price">12.0</field>
+ <field name="list_price">12.0</field>
+ <field name="type">consu</field>
+ <field name="is_published" eval="True"/>
+ <field name="image_1920" type="base64" file="website_sale_slides/static/img/water_can.jpg"/>
+ </record>
+
+ <record id="product_course_channel_1_option_1" model="product.product">
+ <field name="name">Flower pot</field>
+ <field name="standard_price">4.5</field>
+ <field name="list_price">4.5</field>
+ <field name="type">consu</field>
+ <field name="is_published" eval="True"/>
+ <field name="image_1920" type="base64" file="website_sale_slides/static/img/flower_pot.jpg"/>
+ </record>
+
+ <record id="website_sale_slides.product_course_channel_1_product_template" model="product.template">
+ <field name="optional_product_ids" eval="[
+ (6, 0, [ref('test_website_slides_full.product_course_channel_1_option_0_product_template'),
+ ref('test_website_slides_full.product_course_channel_1_option_1_product_template')]
+ )]"/>
+ </record>
+</data></odoo>