[FIX] Stock : wrong context passed to Products was causing crash on browsing through...
authorJay (OpenERP) <jvo@tinyerp.com>
Tue, 7 Dec 2010 18:09:01 +0000 (23:39 +0530)
committerJay (OpenERP) <jvo@tinyerp.com>
Tue, 7 Dec 2010 18:09:01 +0000 (23:39 +0530)
lp bug: https://launchpad.net/bugs/615791 fixed

bzr revid: jvo@tinyerp.com-20101207180901-v4la2jgbe6rpzncq

addons/stock/stock_view.xml

index a5213e2..6ade327 100644 (file)
             src_model="stock.location"/>
 
         <act_window
-            context="{'location': active_id}"
+            context="{}"
             domain="[('product_id','=',active_id)]"
             id="act_product_stock_move_open"
             name="All Stock Moves"
             src_model="stock.move"/>
 
         <act_window
-            context="{'location': active_id}"
+            context="{}"
             domain="[('product_id','=',active_id),('state','in',('waiting','confirmed','assigned'))]"
             id="act_product_stock_move_futur_open"
             name="Future Stock Moves"