[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user