From 0a5874679ebca07bbf7efd66e20a5fc5ccc93a6c Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 9 Jul 2013 10:03:15 +0200 Subject: [PATCH] [FIX] mutable default in function signature --- base_location/better_zip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_location/better_zip.py b/base_location/better_zip.py index 56de4616e..8d6d01614 100644 --- a/base_location/better_zip.py +++ b/base_location/better_zip.py @@ -51,7 +51,7 @@ class BetterZip(orm.Model): res.append((bzip.id, ", ".join(name))) return res - def onchange_state_id(self, cr, uid, ids, state_id=False, context={}): + def onchange_state_id(self, cr, uid, ids, state_id=False, context=None): result = {} if state_id: state = self.pool['res.country.state'].browse(cr, uid, state_id, context=context)