From: Denis Ledoux Date: Tue, 28 Oct 2014 14:37:11 +0000 (+0100) Subject: [MERGE] forward port of branch 7.0 up to b1df5aa X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=663dc6a5b3f25efb7b32f4749cab6f19f185563f;p=odoo%2Fodoo.git [MERGE] forward port of branch 7.0 up to b1df5aa --- 663dc6a5b3f25efb7b32f4749cab6f19f185563f diff --cc addons/sale/wizard/sale_line_invoice.py index fa0b46d,fd3e78c..3c96c52 --- a/addons/sale/wizard/sale_line_invoice.py +++ b/addons/sale/wizard/sale_line_invoice.py @@@ -100,7 -100,7 +100,7 @@@ class sale_order_line_make_invoice(osv. flag = False break if flag: - workflow.trg_validate(uid, 'sale.order', order.id, 'manual_invoice', cr) - wf_service.trg_validate(uid, 'sale.order', order.id, 'all_lines', cr) ++ workflow.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!'))