odoo/odoo — pull request #2819 by nafex (2014-10-01 08:32:47+00:00)
Title: fix #2794 recreate delivery order

this fixes the issue #2794. procurement_obj.run() don't work because the function only runs if x.state not in ('running', 'done', 'cancel'), so we need to reset the procurement to confirmed first... (the same procedure like if i uncancel the procurement manually)