mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user