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:
babab72
)
[FIX] account_voucher: little corretion for set of invoice_ids to for faster execution
author
Rifakat (OpenERP)
<rha@tinyerp.com>
Fri, 10 Feb 2012 05:40:10 +0000
(11:10 +0530)
committer
Rifakat (OpenERP)
<rha@tinyerp.com>
Fri, 10 Feb 2012 05:40:10 +0000
(11:10 +0530)
bzr revid: rha@tinyerp.com-
20120210054010
-0gwxidjiswd7gsj2
addons/account_voucher/account_voucher.py
patch
|
blob
|
history
diff --git
a/addons/account_voucher/account_voucher.py
b/addons/account_voucher/account_voucher.py
index
7cd9d85
..
30bc5c0
100644
(file)
--- a/
addons/account_voucher/account_voucher.py
+++ b/
addons/account_voucher/account_voucher.py
@@
-601,7
+601,7
@@
class account_voucher(osv.osv):
'state':'cancel',
'move_id':False,
}
- for inv_id in invoice_ids:
+ for inv_id in set(invoice_ids):
wf_service.trg_validate(uid, 'account.invoice', inv_id, 'open_test', cr)
self.write(cr, uid, ids, res)
return True