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:
6c7d5df
)
bug-fix: solve the problem for the account voucher
author
Mantavya Gajjar
<mga@tinyerp.com>
Fri, 15 May 2009 11:35:22 +0000
(17:05 +0530)
committer
Mantavya Gajjar
<mga@tinyerp.com>
Fri, 15 May 2009 11:35:22 +0000
(17:05 +0530)
declare variable before using it
bzr revid: mga@tinyerp.com-
20090515113522
-4k0b6qgr4qpg3bo9
addons/account_voucher/voucher.py
patch
|
blob
|
history
diff --git
a/addons/account_voucher/voucher.py
b/addons/account_voucher/voucher.py
index
a1ce08e
..
d1dc30c
100755
(executable)
--- a/
addons/account_voucher/voucher.py
+++ b/
addons/account_voucher/voucher.py
@@
-251,6
+251,7
@@
class account_voucher(osv.osv):
date = inv.date
total_currency = 0
+ acc_id = None
for i in iml:
partner_id=i['partner_id']
acc_id = i['account_id']