← Back to team overview

openerp-india team mailing list archive

[Bug 1276936] [NEW] Export script does not pass language in context

 

Public bug reported:


When analyzing the value of req.context in web/addons/controllers/main.py line 1618:

import_data = Model.export_data(ids, field_names,
req.context).get('datas',[])

the req.context is always empty regardless of language/mode (full export
/ compatible export) etc

This prevents exports from getting the translation when firing them in a
different language hence not a wishlist but an actual bug

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1276936

Title:
  Export script does not pass language in context

Status in OpenERP Addons (modules):
  New

Bug description:
  
  When analyzing the value of req.context in web/addons/controllers/main.py line 1618:

  import_data = Model.export_data(ids, field_names,
  req.context).get('datas',[])

  the req.context is always empty regardless of language/mode (full
  export / compatible export) etc

  This prevents exports from getting the translation when firing them in
  a different language hence not a wishlist but an actual bug

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1276936/+subscriptions


Follow ups

References