name_get() got multiple values for keyword argument 'context'\nname_get() got multiple values for keyword argument 'context'

Bug #1223823 reported by Holger Brunn (Therp)
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Aeroo Reports
Fix Committed
Undecided
Unassigned

Bug Description

In http://bazaar.launchpad.net/~kndati/aeroo/openerp7/view/head:/report_aeroo/ExtraFunctions.py#L165, name_get is passed a second context.
Well have to use the long form name_get(cr, uid, val.id, context=...) to get what we ant here.

Revision history for this message
tim diamond (timdiam) wrote :

Any update on this guys?

Revision history for this message
tim diamond (timdiam) wrote :

I fixed this by changing line 165 from:

            return val.name_get({'lang':self._get_lang()})[0][1]

To

            return val.name_get()[0][1]

Everything seems to be working. Hope this can help someone.

Changed in aeroo:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.