diff options
| author | Lorenzo Battistini <lorenzo.battistini@agilebg.com> | 2013-05-27 15:30:44 +0200 |
|---|---|---|
| committer | Lorenzo Battistini <lorenzo.battistini@agilebg.com> | 2013-05-27 15:30:44 +0200 |
| commit | a4f5abaefcd5d3dd140f49c5f568ca217b6037db (patch) | |
| tree | b4712379b2be845d4d0626501f098057770cdf10 | |
| parent | 727de3660dcfce368aa99448cdc32717efcbef5e (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.py | 2 |
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. |
