← Back to team overview

openerp-india team mailing list archive

[Bug 900861] Re: on_change doesn't pass context, no translations on exceptions

 

Let me add a corrected version of the patch, it was also posted as a possible solution on https://bugs.launchpad.net/openobject-server/+bug/434266
The patch tries to solve problems on onchange and on workflow service calls
I will prepare a merge proposal

** Patch added: "Translate lookup on all frames"
   https://bugs.launchpad.net/openobject-server/+bug/900861/+attachment/3141562/+files/translate.diff

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

Title:
  on_change doesn't pass context, no translations on exceptions

Status in OpenERP Server:
  Confirmed

Bug description:
  This report is related to #537858
  No context is passed on on_change events. That means that messages used in the event (like for example exceptions fired within the event) will be NOT translated by tools.translate '_()' method.
  It is critical on system outside Europe and US

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