diff --git a/stock_move_location/stock.py b/stock_move_location/stock.py index 3e2d37513..9d3828f01 100644 --- a/stock_move_location/stock.py +++ b/stock_move_location/stock.py @@ -118,6 +118,7 @@ class stock_inventory(osv.osv): act = act_obj.read(cr, uid, act_id) context = eval(act['context']) context['default_inventory_id'] = inventory_data.id + context['default_name'] = inventory_data.name act['context'] = context return act