diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2015-09-12 21:41:26 +0200 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2015-09-12 21:41:26 +0200 |
| commit | af176fa67f67a9cf8a05e9c58ac9592671c9fa90 (patch) | |
| tree | 61c905f8f203f1aff7ed35480f21e996bb659205 /addons/procurement_jit/procurement_jit.py | |
| parent | 463e31f4d3b4df9c1a44985589e6ea16fb76691a (diff) | |
[FIX] purchase tests
Diffstat (limited to 'addons/procurement_jit/procurement_jit.py')
| -rw-r--r-- | addons/procurement_jit/procurement_jit.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/addons/procurement_jit/procurement_jit.py b/addons/procurement_jit/procurement_jit.py index 6b6bf22db2f..a3cf916a036 100644 --- a/addons/procurement_jit/procurement_jit.py +++ b/addons/procurement_jit/procurement_jit.py @@ -21,10 +21,12 @@ class procurement_order(osv.osv): return result return res -class stock_move(osv.osv): - _inherit = "stock.move" - - def action_confirm(self, cr, uid, ids, context=None): - res = super(stock_move, self).action_confirm(cr, uid, ids, context=context or {}) - super(stock_move, self).action_assign(cr, uid, ids, context=context or {}) - return res +# TODO FP: This code should be uncommented to assign delivery orders directly +# Vut there is code to fix in stock.py before, to not have purchase tests that fails +# class stock_move(osv.osv): +# _inherit = "stock.move" +# +# def action_confirm(self, cr, uid, ids, context=None): +# res = super(stock_move, self).action_confirm(cr, uid, ids, context=context or {}) +# super(stock_move, self).action_assign(cr, uid, ids, context=context or {}) +# return res |
