[FIX] account: Account Journal onchange_type method context undefined error

lp bug: https://launchpad.net/bugs/692139 fixed

bzr revid: psi@tinyerp.co.in-20101220055304-u9clus3vjn9bxfhs
This commit is contained in:
psi (Open ERP)
2010-12-20 11:23:04 +05:30
parent 59ca5882bc
commit 024bb524f6
+1 -1
View File
@@ -708,7 +708,7 @@ class account_journal(osv.osv):
return self.name_get(cr, user, ids, context=context)
def onchange_type(self, cr, uid, ids, type, currency):
def onchange_type(self, cr, uid, ids, type, currency, context=None):
obj_data = self.pool.get('ir.model.data')
user_pool = self.pool.get('res.users')