summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/sale/wizard/sale_line_invoice.py1
1 files changed, 1 insertions, 0 deletions
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: