Comment 4 for bug 900861

Revision history for this message
Gustavo Adrian Marino (gamarino) wrote : Re: [Bug 900861] Re: on_change doesn't pass context, no translations on exceptions

Serge:
Attached you will find my solution.
It solves the problem for all on_change methods, plus the workflow service
calls

If someone cares, it could be sometime introduced in the official release

Best regards

El 25 de abril de 2012 11:31, Serge <email address hidden> escribió:

> +1
>
> In quebec, canada, if you want enter in gouverment, you need ALL BY IN
> FRENCH, miss one translation and you will lose point.
>
> Openerp do publicity on multi language, so this is a BUG not a wishlist
> !
>
> --
> You received this bug notification because you are 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 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
>

--

Gustavo Adrian Marino

Mobile: +54 911 5498 2515

Email: <email address hidden>

Skype: gustavo.adrian.marino