Files
enterprise-addons/sale_management_renting/data/rental_management_demo.xml
T

34 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<odoo noupdate="1">
<!-- Add a rental quotation template -->
<record id="rental_order_template_1" model="sale.order.template">
<field name="name">Rent Rooms</field>
<field name="number_of_days">45</field>
</record>
<record id="rental_order_template_line_1" model="sale.order.template.line">
<field name="sale_order_template_id" ref="rental_order_template_1"/>
<field name="product_id" ref="sale_renting.rental_product_2"/>
</record>
<record id="rental_order_template_line_section_1" model="sale.order.template.line">
<field name="sale_order_template_id" ref="rental_order_template_1"/>
<field name="name">Optional Products Section</field>
<field name="product_uom_qty">0.00</field>
<field name="display_type">line_section</field>
<field name="is_optional">True</field>
</record>
<record id="rental_order_template_line_option_1" model="sale.order.template.line">
<field name="sale_order_template_id" ref="rental_order_template_1"/>
<field name="product_id" ref="sale_renting.rental_product_1"/>
</record>
<record id="rental_order_template_line_option_2" model="sale.order.template.line">
<field name="sale_order_template_id" ref="rental_order_template_1"/>
<field name="product_id" ref="sale_renting.rental_product_3"/>
</record>
</odoo>