Browse Source

[FIX] base_location - Add context propagation to base_location

pull/2/head
unknown 11 years ago
committed by Yannick Vaucher
parent
commit
08a8d1504e
  1. 2
      base_location/__openerp__.py
  2. 2
      base_location/better_zip.py

2
base_location/__openerp__.py

@ -20,7 +20,7 @@
#
##############################################################################
{'name': 'Location management (aka Better ZIP)',
'version': '0.3',
'version': '0.3.1',
'depends': ['base'],
'author': 'Camptocamp',
'description': """

2
base_location/better_zip.py

@ -42,7 +42,7 @@ class BetterZip(orm.Model):
def name_get(self, cursor, uid, ids, context=None):
res = []
for bzip in self.browse(cursor, uid, ids):
for bzip in self.browse(cursor, uid, ids, context=context):
if bzip.name:
name = [bzip.name, bzip.city]
else:

Loading…
Cancel
Save