projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0021fa9
)
[FIX] sale: trigger all_lines signal when all lines are invoiced
author
Julien Legros
<jle@odoo.com>
Tue, 28 Oct 2014 14:12:53 +0000
(15:12 +0100)
committer
Julien Legros
<jle@odoo.com>
Tue, 28 Oct 2014 14:16:06 +0000
(15:16 +0100)
addons/sale/wizard/sale_line_invoice.py
patch
|
blob
|
history
diff --git
a/addons/sale/wizard/sale_line_invoice.py
b/addons/sale/wizard/sale_line_invoice.py
index
5f979ea
..
fd3e78c
100644
(file)
--- a/
addons/sale/wizard/sale_line_invoice.py
+++ b/
addons/sale/wizard/sale_line_invoice.py
@@
-100,7
+100,7
@@
class sale_order_line_make_invoice(osv.osv_memory):
flag = False
break
if flag:
- wf_service.trg_validate(uid, 'sale.order', order.id, 'manual_invoice', cr)
+ wf_service.trg_validate(uid, 'sale.order', order.id, 'all_lines', cr)
if not invoices:
raise osv.except_osv(_('Warning!'), _('Invoice cannot be created for this Sales Order Line due to one of the following reasons:\n1.The state of this sales order line is either "draft" or "cancel"!\n2.The Sales Order Line is Invoiced!'))