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
_commit: v1.11.0
_commit: v1.11.1
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP

View File

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

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",