← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~savoirfairelinux-openerp/partner-contact-management/1279118 into lp:partner-contact-management

 

Sandy Carter (http://www.savoirfairelinux.com) has proposed merging lp:~savoirfairelinux-openerp/partner-contact-management/1279118 into lp:partner-contact-management.

Requested reviews:
  Partner and Contact Core Editors (partner-contact-core-editors)
Related bugs:
  Bug #1279118 in Partner and Contact Management: "name get of base_location does not translate county"
  https://bugs.launchpad.net/partner-contact-management/+bug/1279118

For more details, see:
https://code.launchpad.net/~savoirfairelinux-openerp/partner-contact-management/1279118/+merge/205871

Fixes lp:1279118
Adding context propagation.

This is a good example of why context propagation is necessary.
-- 
https://code.launchpad.net/~savoirfairelinux-openerp/partner-contact-management/1279118/+merge/205871
Your team Partner and Contact Core Editors is requested to review the proposed merge of lp:~savoirfairelinux-openerp/partner-contact-management/1279118 into lp:partner-contact-management.
=== modified file 'base_location/better_zip.py'
--- base_location/better_zip.py	2013-12-12 22:38:57 +0000
+++ base_location/better_zip.py	2014-02-11 23:32:03 +0000
@@ -42,7 +42,7 @@
 
     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:


Follow ups