mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[REF] stock_inventory_discrepancy: fix eslint no-param-reassign
This commit is contained in:
committed by
Carolina Fernandez
parent
e2daa7ecf5
commit
e0a5b46475
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user