openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11326
[Bug 900861] Re: on_change doesn't pass context, no translations on exceptions
Serge (sboivin), you're being rude and that's not an good way to have others fix things for you, for free.
The reasons this has not been fixed for ages have been explained elsewhere: to sum it up, it would break too many modules. No capitalist-from-hell logic at work here.
Actually the R&D team is working to a generic solution to this bug: making sure the context is passed implicitly. That should land in v7.0 according to the roadmap. Let's bear with them.
In the meantime, you can try Gustavo Adrian Marino (gamarino)'s patch and report here, or browse the user's language to make up a context in your own on_change function.
Lionel.
--
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