Tower: upload laundry_management 19.0.19.0.4 (via marketplace)
This commit is contained in:
52
addons/laundry_management/demo/demo.xml
Normal file
52
addons/laundry_management/demo/demo.xml
Normal file
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo noupdate="1">
|
||||
|
||||
<!-- Laundry orders themselves are created automatically from POS
|
||||
(pos_order_id is required), so we don't seed laundry.order rows.
|
||||
Below: a realistic demo service product with Normal / Express
|
||||
variants so cashiers see something cleaner than a blank catalog. -->
|
||||
|
||||
<!-- ── Product attribute: Service Speed ─────────────────────────── -->
|
||||
<record id="demo_attr_service_speed" model="product.attribute">
|
||||
<field name="name">Service Speed</field>
|
||||
<field name="display_type">radio</field>
|
||||
<field name="create_variant">always</field>
|
||||
<field name="sequence">10</field>
|
||||
</record>
|
||||
|
||||
<record id="demo_attr_value_normal" model="product.attribute.value">
|
||||
<field name="name">Normal</field>
|
||||
<field name="attribute_id" ref="demo_attr_service_speed"/>
|
||||
<field name="sequence">10</field>
|
||||
</record>
|
||||
|
||||
<record id="demo_attr_value_express" model="product.attribute.value">
|
||||
<field name="name">Express</field>
|
||||
<field name="attribute_id" ref="demo_attr_service_speed"/>
|
||||
<field name="default_extra_price">3.0</field>
|
||||
<field name="sequence">20</field>
|
||||
</record>
|
||||
|
||||
<!-- ── Demo product: T-Shirt / Polo Wash ───────────────────────── -->
|
||||
<record id="demo_product_tshirt_wash" model="product.template">
|
||||
<field name="name">T-Shirt / Polo Wash</field>
|
||||
<field name="type">service</field>
|
||||
<field name="sale_ok">True</field>
|
||||
<field name="purchase_ok">False</field>
|
||||
<field name="available_in_pos">True</field>
|
||||
<field name="is_laundry_service">True</field>
|
||||
<field name="list_price">8.0</field>
|
||||
<field name="taxes_id" eval="[(5,)]"/>
|
||||
<field name="description_sale">Wash + iron for tops. Express adds 3 SAR.</field>
|
||||
</record>
|
||||
|
||||
<record id="demo_product_tshirt_wash_attr_line" model="product.template.attribute.line">
|
||||
<field name="product_tmpl_id" ref="demo_product_tshirt_wash"/>
|
||||
<field name="attribute_id" ref="demo_attr_service_speed"/>
|
||||
<field name="value_ids" eval="[(6, 0, [
|
||||
ref('demo_attr_value_normal'),
|
||||
ref('demo_attr_value_express'),
|
||||
])]"/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user