Merge PR #1556 into 14.0

Signed-off-by rousseldenis
This commit is contained in:
OCA-git-bot
2022-11-18 08:40:46 +00:00
3 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
# Do NOT update manually; changes here will be overwritten by Copier # Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.11.0 _commit: v1.11.1
_src_path: gh:oca/oca-addons-repo-template _src_path: gh:oca/oca-addons-repo-template
ci: GitHub ci: GitHub
dependency_installation_mode: PIP dependency_installation_mode: PIP

View File

@@ -104,7 +104,7 @@ repos:
- --settings=. - --settings=.
exclude: /__init__\.py$ exclude: /__init__\.py$
- repo: https://github.com/acsone/setuptools-odoo - repo: https://github.com/acsone/setuptools-odoo
rev: 2.6.0 rev: 3.1.8
hooks: hooks:
- id: setuptools-odoo-make-default - id: setuptools-odoo-make-default
- id: setuptools-odoo-get-requirements - id: setuptools-odoo-get-requirements
@@ -113,7 +113,7 @@ repos:
- requirements.txt - requirements.txt
- --header - --header
- "# generated from manifests external_dependencies" - "# generated from manifests external_dependencies"
- repo: https://gitlab.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
rev: 3.8.3 rev: 3.8.3
hooks: hooks:
- id: flake8 - id: flake8

View File

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