[REF] stock_inventory_discrepancy: fix eslint no-param-reassign

This commit is contained in:
Daniel Reis
2022-11-18 08:29:18 +00:00
committed by Carolina Fernandez
parent e2daa7ecf5
commit e0a5b46475

View File

@@ -13,8 +13,10 @@ odoo.define("stock_inventory_discrepancy.InventoryValidationController", functio
* @override
* @see displayNotification
*/
do_notify: function (title, message, sticky, className) {
do_notify: function (ptitle, pmessage, sticky, className) {
var self = this;
var title = ptitle;
var message = pmessage;
if (this.modelName === "stock.inventory.line") {
this._rpc({
model: "stock.inventory",