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