context bug in web client v5 (due to typo)

Bug #507369 reported by David Janssens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

Bug Description

There is a bug in web client v5 due to a typo.
In actions.py, around line 287, the following lines:

ctx1 = data.get('context', {}).copy()
ctx2 = action.get('context', {}).copy()
ctx1.update(ctx2)
data['context'] = ctx2

have to be replaced by:

ctx1 = data.get('context', {}).copy()
ctx2 = action.get('context', {}).copy()
ctx1.update(ctx2)
data['context'] = ctx1 # <<<

The bug causes contexts not to be passed to wizards.

Related branches

Revision history for this message
Christophe Simonis (OpenERP) (kangol) wrote :

Can you please make patch file ?

Revision history for this message
David Janssens (david.j-almacom) wrote : Re: [Bug 507369] Re: context bug in web client v5 (due to typo)

patch in attachment

Thanks,
--
David Janssens
Almacom (Thailand) Ltd.
http://almacom.co.th/

Christophe (OpenERP) wrote:
> Can you please make patch file ?
>
>

Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Its fixed in stable please update your code.

Revision Info:
2799 <email address hidden>

Thank you for pointing.

Changed in openobject-client-web:
status: New → Fix Committed
Changed in openobject-client-web:
milestone: none → 5.0.11
status: Fix Committed → Fix Released
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.