flectra/addons/blanket_so_po/demo/blanket_sale_demo.xml

46 lines
2.0 KiB
XML
Raw Normal View History

2018-06-20 09:39:59 +02:00
<?xml version="1.0" encoding="utf-8"?>
<flectra noupdate="1">
<record id="sale_order_blanket1" model="sale.order">
<field name="partner_id" ref="base.res_partner_4"/>
<field name="partner_invoice_id" ref="base.res_partner_address_13"/>
<field name="partner_shipping_id" ref="base.res_partner_address_13"/>
<field name="user_id" ref="base.user_demo"/>
<field name="pricelist_id" ref="product.list0"/>
<field name="team_id" ref="sales_team.team_sales_department"/>
<field name="date_order"
eval="(DateTime.today() - relativedelta(months=1)).strftime('%Y-%m-%d %H:%M')"/>
</record>
<record id="sale_order_line_blanket_1" model="sale.order.line">
<field name="order_id" ref="sale_order_blanket1"/>
<field name="name">Laptop E5023</field>
<field name="product_id" ref="product.product_product_25"/>
<field name="product_uom_qty">10</field>
<field name="product_uom" ref="product.product_uom_unit"/>
<field name="price_unit">2950.00</field>
<field name="blanket_so_line" eval="True"/>
</record>
<record id="sale_order_line_blanket_2" model="sale.order.line">
<field name="order_id" ref="sale_order_blanket1"/>
<field name="name">Headset USB</field>
<field name="product_id" ref="product.product_delivery_01"/>
<field name="product_uom_qty">3</field>
<field name="product_uom" ref="product.product_uom_unit"/>
<field name="price_unit">2950.00</field>
<field name="blanket_so_line" eval="False"/>
</record>
<record id="sale_order_line_blanket_3" model="sale.order.line">
<field name="order_id" ref="sale_order_blanket1"/>
<field name="name">Webcamv</field>
<field name="product_id" ref="product.product_delivery_02"/>
<field name="product_uom_qty">10</field>
<field name="product_uom" ref="product.product_uom_unit"/>
<field name="price_unit">45.00</field>
<field name="blanket_so_line" eval="False"/>
</record>
</flectra>