[FIX] uniq constraint in demo data

bzr revid: fp@tinyerp.com-20111117190629-mxwg530pg5kv56ze
This commit is contained in:
Fabien Pinckaers 2011-11-17 20:06:29 +01:00
parent b7ea7dea52
commit fcf8e37a7d
2 changed files with 0 additions and 5 deletions

View File

@ -106,14 +106,11 @@
-
!record {model: mrp.production, id: mrp_production_mo0}:
bom_id: mrp_bom_woodenchair0
company_id: base.main_company
date_planned: !eval datetime.today().strftime("%Y-%m-%d %H:%M:%S")
location_dest_id: stock.stock_location_stock
location_src_id: stock.stock_location_stock
name: MO/00004
product_id: product_product_woodenchair0
product_qty: 10.0
product_uom: product.product_uom_unit
product_uos_qty: 0.0
-
I compute the data of production order.

View File

@ -142,11 +142,9 @@
product_uos_qty: 0.0
bom_id: mrp_bom_cupoftea0
routing_id: mrp_routing_productionrouting0
company_id: base.main_company
date_planned: !eval time.strftime('%Y-%m-%d %H:%M:%S')
location_dest_id: stock.stock_location_stock
location_src_id: stock.stock_location_stock
name: MO/00002
-
I compute the data of production order.
-