summaryrefslogtreecommitdiff
path: root/addons/stock/static/src/js
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2020-01-03 15:10:29 +0000
committerSimon Lejeune <sle@openerp.com>2020-01-03 15:12:01 +0000
commit68be60fc8277afc06bfb6a5381f3ad86c8e3abbd (patch)
tree7b1c55dfddcdf4c3f9f2ea7b60122cdb5b97484b /addons/stock/static/src/js
parent9a5608aee7ec7b875a3fed7340ce2922b8a79f68 (diff)
[REV] stock: add hierarchical view for stock locations
This reverts commit d39a51259e93b84184379a1fc9b824dad94e5ea5. This view was technically clean and useful to detect configuration issues (wrong view_location_id for example) but was not liked by our big boss because "a group by parent_id does the same thing". task-2166904 closes odoo/odoo#42734 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/stock/static/src/js')
-rw-r--r--addons/stock/static/src/js/stock_location_hierarchy.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/addons/stock/static/src/js/stock_location_hierarchy.js b/addons/stock/static/src/js/stock_location_hierarchy.js
deleted file mode 100644
index 29fb287de3f..00000000000
--- a/addons/stock/static/src/js/stock_location_hierarchy.js
+++ /dev/null
@@ -1,19 +0,0 @@
-odoo.define('stock.stock_location_hierarchy_qweb', function (require) {
-"use strict";
-
-var QwebView = require('web.qweb');
-var registry = require('web.view_registry');
-
-
-var QWebView = QwebView.View.extend({
- icon: 'fa-sitemap',
- searchMenuTypes: ['filter', 'favorite'],
-});
-
-registry.add('stock_location_hierarchy_qweb', QWebView);
-
-return {
- View: QWebView,
-};
-
-});