openerp-expert-localization team mailing list archive
-
openerp-expert-localization team
-
Mailing list archive
-
Message #00397
[Bug 900861] Re: on_change doesn't pass context, no translations on exceptions
I can see the context was added to the signature of product_id_change() in sale_stock, so does the framework pass the context or does it not ?
the docs are not clear with this respect : they say you can get the context but the example given does not accept it!
https://doc.openerp.com/trunk/server/03_module_dev_03/#on-change
https://doc.openerp.com/6.0/developer/2_6_views_events/events/events/
Lionel Sausin.
** Also affects: openobject-doc
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Localization Experts, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/900861
Title:
on_change doesn't pass context, no translations on exceptions
Status in OpenERP Documentation:
New
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-doc/+bug/900861/+subscriptions