[FIX] project: translate panel data

Give the language in the context

closes odoo/odoo#79594

X-original-commit: 9939a0cbfae814f6b4d66c0ca45e0a84d3f57836
Related: odoo/enterprise#22205
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
This commit is contained in:
Martin Trigaux
2021-11-10 07:45:53 +00:00
parent c7942f19f2
commit 91d5aef00c
@@ -39,6 +39,9 @@ export default class ProjectRightPanel extends owl.Component {
model: 'project.project',
method: 'get_panel_data',
args: [this.project_id],
kwargs: {
context: this.context
}
});
this.state.data = data;
return data;