[FIX] purchase: run_scheduler.yml
bzr revid: qdp-launchpad@openerp.com-20130904154353-jntmykfnem9fre4b
This commit is contained in:
parent
aa54539de1
commit
56f184a354
|
@ -67,13 +67,13 @@ Dashboard / Reports for Purchase Management will include:
|
|||
'res_config_view.xml',
|
||||
],
|
||||
'test': [
|
||||
'test/process/run_scheduler.yml',
|
||||
'test/fifo_price.yml',
|
||||
'test/fifo_returns.yml',
|
||||
#'test/costmethodchange.yml',
|
||||
'test/process/cancel_order.yml',
|
||||
'test/process/rfq2order2done.yml',
|
||||
'test/process/generate_invoice_from_reception.yml',
|
||||
'test/process/run_scheduler.yml',
|
||||
'test/process/merge_order.yml',
|
||||
'test/process/edi_purchase_order.yml',
|
||||
'test/process/invoice_on_poline.yml',
|
||||
|
|
|
@ -66,5 +66,16 @@
|
|||
<field name="res_model">purchase.order</field>
|
||||
</record>
|
||||
|
||||
<!--
|
||||
Procurement rules
|
||||
-->
|
||||
|
||||
<record id="procurement_rule_supply_stock" model="procurement.rule">
|
||||
<field name="name">Buy to refill stock</field>
|
||||
<field name="action">buy</field>
|
||||
<field name="location_id" ref="stock.stock_location_stock"/>
|
||||
<field name="picking_type_id" ref="stock.picking_type_in"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -1,12 +1,21 @@
|
|||
-
|
||||
In order to test the scheduler to generate RFQ.
|
||||
In order to test the scheduler to generate RFQ, I create a new product
|
||||
-
|
||||
!record {model: product.product, id: scheduler_product}:
|
||||
name: scheduler prod
|
||||
type: product
|
||||
supply_method: buy
|
||||
seller_ids:
|
||||
- delay: 1
|
||||
name: base.res_partner_2
|
||||
min_qty: 5.0
|
||||
-
|
||||
I create a procurement order.
|
||||
-
|
||||
!record {model: procurement.order, id: procurement_order_testcase0}:
|
||||
location_id: stock.stock_location_stock
|
||||
name: Test scheduler for RFQ
|
||||
product_id: product.product_product_45
|
||||
product_id: scheduler_product
|
||||
product_qty: 15.0
|
||||
-
|
||||
I run the scheduler.
|
||||
|
|
Loading…
Reference in New Issue