[FIX] mrp: BoM Structure report

Send the context for proper translation of the report.

opw-1908220

closes odoo/odoo#30038
This commit is contained in:
Nicolas Martinelli
2019-01-08 14:37:02 +00:00
parent 91882dd972
commit d0d8b7b4de
+2 -1
View File
@@ -25,7 +25,8 @@ var MrpBomReport = stock_report_generic.extend({
return this._rpc({
model: 'report.mrp.report_bom_structure',
method: 'get_html',
args: args
args: args,
context: this.given_context,
})
.then(function (result) {
self.data = result;