mrp: fix for bad commit r6888 that remove the context for product_uom

bzr revid: ced-5cb75422a34e64fee680d3529bd34920d2149c53
This commit is contained in:
ced
2007-08-03 14:03:05 +00:00
parent e11916db43
commit a18bd2eb85
+2
View File
@@ -679,8 +679,10 @@
src_model="stock.warehouse"
id="act_stock_warehouse_2_stock_warehouse_orderpoint"/>
<!-- add product_uom to context to be the default value when adding new orderpoints -->
<act_window name="Orderpoints"
domain="[('product_id', '=', active_id)]"
context="{'product_uom': uom_id}"
res_model="stock.warehouse.orderpoint"
src_model="product.product"
id="act_product_product_2_stock_warehouse_orderpoint"/>