diff options
| author | RomainLibert <rli@odoo.com> | 2019-09-16 08:24:40 +0000 |
|---|---|---|
| committer | RomainLibert <rli@odoo.com> | 2019-09-16 15:03:35 +0000 |
| commit | 416f1794426af55132a19d388a2e5693f59dfde6 (patch) | |
| tree | bc9c1cfcc2b06263f98fc2e9277d931151220df6 /addons/web/static/src/js/fields | |
| parent | 3198705e301ab3e49d7db3adbd174fde806b0b59 (diff) | |
[FIX] web: pass the context when executing an action
In case you have a button of type action, the controller is doing an rpc
on the model using the right method, but in this rpc, the context is not
passed.
This creates a translation problem (nothing is translated) since the
language is not defined in the context.
Task Id 2062419
Closes #36189
closes odoo/odoo#36969
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
