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:
73a8c43
)
[FIX] account: Remove the parentheses because the assertion was always true
author
Stephane Wirtel
<stephane@openerp.com>
Mon, 9 Aug 2010 12:33:30 +0000
(14:33 +0200)
committer
Stephane Wirtel
<stephane@openerp.com>
Mon, 9 Aug 2010 12:33:30 +0000
(14:33 +0200)
bzr revid: stephane@openerp.com-
20100809123330
-4m0xyqdelwjc1wlp
addons/account/account.py
patch
|
blob
|
history
diff --git
a/addons/account/account.py
b/addons/account/account.py
index
aa0a27a
..
5f83dd4
100644
(file)
--- a/
addons/account/account.py
+++ b/
addons/account/account.py
@@
-1236,7
+1236,7
@@
class account_move(osv.osv):
return amount
def _centralise(self, cr, uid, move, mode, context=None):
- assert(mode in ('debit', 'credit'), 'Invalid Mode') #to prevent sql injection
+ assert mode in ('debit', 'credit'), 'Invalid Mode' #to prevent sql injection
if context is None:
context = {}