From 4fbffa5324a9b8826e7a2615f6b7465774881be5 Mon Sep 17 00:00:00 2001 From: "Atchuthan, Sodexis" Date: Thu, 24 Jun 2021 13:42:02 +0530 Subject: [PATCH] [IMP] stock_quantity_history_location: black, isort, prettier --- .../odoo/addons/stock_quantity_history_location | 1 + setup/stock_quantity_history_location/setup.py | 6 ++++++ .../static/src/js/inventory_report.js | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 120000 setup/stock_quantity_history_location/odoo/addons/stock_quantity_history_location create mode 100644 setup/stock_quantity_history_location/setup.py diff --git a/setup/stock_quantity_history_location/odoo/addons/stock_quantity_history_location b/setup/stock_quantity_history_location/odoo/addons/stock_quantity_history_location new file mode 120000 index 0000000..2f1a370 --- /dev/null +++ b/setup/stock_quantity_history_location/odoo/addons/stock_quantity_history_location @@ -0,0 +1 @@ +../../../../stock_quantity_history_location \ No newline at end of file diff --git a/setup/stock_quantity_history_location/setup.py b/setup/stock_quantity_history_location/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/stock_quantity_history_location/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_quantity_history_location/static/src/js/inventory_report.js b/stock_quantity_history_location/static/src/js/inventory_report.js index 1e00fdc..83f78dd 100644 --- a/stock_quantity_history_location/static/src/js/inventory_report.js +++ b/stock_quantity_history_location/static/src/js/inventory_report.js @@ -1,5 +1,5 @@ /* eslint-disable no-unused-vars */ -odoo.define("stock.InventoryReportLocationListController", function(require) { +odoo.define("stock.InventoryReportLocationListController", function (require) { "use strict"; var core = require("web.core"); @@ -9,7 +9,7 @@ odoo.define("stock.InventoryReportLocationListController", function(require) { var _t = core._t; var InventoryReportLocationListController = InventoryReportListController.include({ - renderButtons: function($node) { + renderButtons: function ($node) { this._super.apply(this, arguments); if (this.context.no_at_date) { return;