[MERGE] merge with trunk addons3

bzr revid: mra@mra-laptop-20100702110349-7s5l3phokpk0djth
This commit is contained in:
Mustufa Rangwala
2010-07-02 16:33:49 +05:30
+1 -1
View File
@@ -1143,7 +1143,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 = {}