Skip to content
Snippets Groups Projects
Commit af176fa6 authored by Fabien Pinckaers's avatar Fabien Pinckaers
Browse files

[FIX] purchase tests

parent 463e31f4
Branches
Tags
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment