You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, we try to retrieve keywords like cr, context, self,.. when calling the _() method to be able to retrieve the ir.translation records.
If your cursor is closed GettextAlias will fail when using it. To fix your issue, you must open a new cursor.
For instance, when translating an error message after an SQL error, we explicitly open a new cursor.
Impacted versions:
13.0
Steps to reproduce:
Current behavior:
GettextAlias._get_cr picks the first cr found in the frame/stack
Expected behavior:
GettextAlias._get_cr picks the first unclosed cr found in the frame/stack
Video/Screenshot link (optional):
Support ticket number submitted via odoo.com/help (optional):
FYI @wt-io-it
The text was updated successfully, but these errors were encountered: