[FIX] account: Remove the parentheses because the assertion was always true
bzr revid: stephane@openerp.com-20100809123330-4m0xyqdelwjc1wlp
This commit is contained in:
parent
73a8c4306e
commit
7ba4b880bc
|
@ -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 = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue