From f4870f84182eb7a062f11e37e31827009d237cbb Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Tue, 28 Oct 2014 17:57:08 +0100 Subject: [PATCH] [FIX] sale: when invoicing on lines, set order in progress when all lines invoiced This fix is related to rev. b1df5aab6e529e9667bb97c96c9196e1a4e5e0ce --- addons/sale/wizard/sale_line_invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/sale/wizard/sale_line_invoice.py b/addons/sale/wizard/sale_line_invoice.py index fd3e78c05a0..998c66a8a03 100644 --- a/addons/sale/wizard/sale_line_invoice.py +++ b/addons/sale/wizard/sale_line_invoice.py @@ -100,6 +100,7 @@ class sale_order_line_make_invoice(osv.osv_memory): flag = False break if flag: + line.order_id.write({'state': 'progress'}) wf_service.trg_validate(uid, 'sale.order', order.id, 'all_lines', cr) if not invoices: