Context lost in export and import data

Bug #478627 reported by Sebastien LANGE - http://www.Syleam.fr
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

Bug Description

The context is lost in import and export data.
This problem is appear with base_report_creator module.
Please find patch below.

Revision history for this message
Sebastien LANGE - http://www.Syleam.fr (alnslang) wrote :
Changed in openobject-client-web:
status: New → Confirmed
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello sebastien,

Its fixed in trunk and stable. Please update your code.

Thanks.

Changed in openobject-client-web:
status: Confirmed → Fix Committed
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

hello,

Revision info for stable and trunk.

For stable :
2749 <email address hidden>

For trunk:
2810 <email address hidden>

Thanks.

Revision history for this message
Sebastien LANGE - http://www.Syleam.fr (alnslang) wrote :

Bug not fixed, please try with base_report_creator module with demo game.
With my patch, the result is correct, not with your correction.

Changed in openobject-client-web:
status: Fix Committed → In Progress
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,
Sorry for inconvenience, Can you please tell us where is module game ? i do not find the game module any where in trunk-extra-addons.. We have game_scenario module available.

thanks

Revision history for this message
Sebastien LANGE - http://www.Syleam.fr (alnslang) wrote :

Just active in __terp__.py the demo xml in base_report_creator. Open the report and try to export data. The fields are base_report_creator class, not the fields of report.
It's ok in GTK client but not in web client.

Thanks

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Hi sma, it's not a demo game module

in the module base_report_creator, and the line " base_report_creator_demo.xml" in the demo_xml section (file is available in the base_report_creator)

With GTK client, the CSV export return the correct field list, but not with Web client (we show the field from base_report_creator and not the related object), because context was lose.

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

Hello sebastien,

Thanks for the bug report and patch file.
We have checked your patch and apply in web client, it works fine. We have commited on stable so now you can update your code.

Revision info for stable:
2751 <email address hidden>

thanks again

Changed in openobject-client-web:
status: In Progress → Fix Committed
Revision history for this message
Sebastien LANGE - http://www.Syleam.fr (alnslang) wrote :

It's ok.
Thanks.

Changed in openobject-client-web:
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.