summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Battistini <lorenzo.battistini@agilebg.com>2013-05-27 15:30:44 +0200
committerLorenzo Battistini <lorenzo.battistini@agilebg.com>2013-05-27 15:30:44 +0200
commita4f5abaefcd5d3dd140f49c5f568ca217b6037db (patch)
treeb4712379b2be845d4d0626501f098057770cdf10
parent727de3660dcfce368aa99448cdc32717efcbef5e (diff)
[FIX] _create_product_valuation_moves (stock.move) does not use context while creating account.move
bzr revid: lorenzo.battistini@agilebg.com-20130527133044-lzrq5c5t30qrhel7
-rw-r--r--addons/stock/stock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/stock.py b/addons/stock/stock.py
index fca3d9ff073..e3333360708 100644
--- a/addons/stock/stock.py
+++ b/addons/stock/stock.py
@@ -2332,7 +2332,7 @@ class stock_move(osv.osv):
{
'journal_id': j_id,
'line_id': move_lines,
- 'ref': move.picking_id and move.picking_id.name})
+ 'ref': move.picking_id and move.picking_id.name}, context=context)
def action_done(self, cr, uid, ids, context=None):
""" Makes the move done and if all moves are done, it will finish the picking.