[FIX] mutable default in ir

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

bzr revid: ls@numerigraphe.fr-20100722132835-ffr0k22jcl1rfoqd
This commit is contained in:
Numerigraphe - Lionel Sausin 2010-07-22 15:28:35 +02:00
parent 9a5e22e38b
commit f9b199fa5f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def ir_del(cr, uid, id):
obj = pooler.get_pool(cr.dbname).get('ir.values')
return obj.unlink(cr, uid, [id])
def ir_get(cr, uid, key, key2, models, meta=False, context={}, res_id_req=False):
def ir_get(cr, uid, key, key2, models, meta=False, context=None, res_id_req=False):
obj = pooler.get_pool(cr.dbname).get('ir.values')
res = obj.get(cr, uid, key, key2, models, meta=meta, context=context, res_id_req=res_id_req)
return res