mrp: fix for bad commit r6888 that remove the context for product_uom
bzr revid: ced-5cb75422a34e64fee680d3529bd34920d2149c53
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user