flectra/addons/recurring_purchase/demo/purchase_recurring_demo.xml

29 lines
1.1 KiB
XML

<?xml version="1.0" ?>
<flectra noupdate="1">
<record id="purchase_order_demo" model="purchase.order">
<field name="name">PO001</field>
<field name="partner_id" ref="base.res_partner_2"/>
</record>
<record id="purchase_order_line_demo" model="purchase.order.line">
<field name="order_id"
ref="recurring_purchase.purchase_order_demo"/>
<field name="name">[RAM-SR5] RAM DDR SR5</field>
<field name="date_planned" eval="time.strftime('%Y/%m/10')"/>
<field name="product_id" ref="product.product_product_13"/>
<field name="product_uom" ref="product.product_uom_unit"/>
<field name="price_unit">60</field>
<field name="product_qty">5</field>
</record>
<record id="recurring_purchase1" model="recurring">
<field name="name">PO001</field>
<field name="exec_init">2</field>
<field name="interval_type">minutes</field>
<field name="date_init" eval="datetime.now()"/>
<field name="doc_source" ref='recurring_purchase.purchase_order_demo'/>
</record>
</flectra>