Browse Source

[FIX] mutable default in function signature

pull/523/head
unknown 12 years ago
committed by Jairo Llopis
parent
commit
5dfeb06634
  1. 2
      base_location/better_zip.py

2
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)

Loading…
Cancel
Save