projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
b482c1e
)
[MERGE] merge from dev3
author
ARA (OpenERP)
<ara@tinyerp.com>
Tue, 16 Nov 2010 07:15:54 +0000
(12:45 +0530)
committer
ARA (OpenERP)
<ara@tinyerp.com>
Tue, 16 Nov 2010 07:15:54 +0000
(12:45 +0530)
bzr revid: ara@tinyerp.com-
20101116071554
-91h4snhiegd46o4z
addons/account/invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/invoice.py
b/addons/account/invoice.py
index
af65a50
..
4eae61d
100644
(file)
--- a/
addons/account/invoice.py
+++ b/
addons/account/invoice.py
@@
-598,6
+598,7
@@
class account_invoice(osv.osv):
self.write(cr, uid, ids, {'state':'draft'})
wf_service = netsvc.LocalService("workflow")
for inv_id in ids:
+ wf_service.trg_delete(uid, 'account.invoice', inv_id, cr)
wf_service.trg_create(uid, 'account.invoice', inv_id, cr)
return True