diff options
| author | Géry Debongnie <ged@odoo.com> | 2018-12-06 12:37:33 +0000 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-12-07 13:16:08 +0000 |
| commit | 86b6bd5ad1e8002d47604889fbe6bee170b2760e (patch) | |
| tree | 0ad14c8d8a63d74b7cfd147f13e80cb67d6798a0 | |
| parent | 86870b89bd427bbc6a4fd7ce1897a0e1347d4a32 (diff) | |
[REF] point_of_sale,web: move backbone to pos
This rev. moves the backbone library from web to pos, as one of its
two usecases (the search view) has just been removed. From now on,
it is only used in the pos.
Part of task 1893568
| -rw-r--r-- | addons/point_of_sale/static/lib/backbone/backbone.js (renamed from addons/web/static/lib/backbone/backbone.js) | 0 | ||||
| -rw-r--r-- | addons/point_of_sale/views/point_of_sale.xml | 1 | ||||
| -rw-r--r-- | addons/web/views/webclient_templates.xml | 1 |
3 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/lib/backbone/backbone.js b/addons/point_of_sale/static/lib/backbone/backbone.js index f7783c2c199..f7783c2c199 100644 --- a/addons/web/static/lib/backbone/backbone.js +++ b/addons/point_of_sale/static/lib/backbone/backbone.js diff --git a/addons/point_of_sale/views/point_of_sale.xml b/addons/point_of_sale/views/point_of_sale.xml index e6428ca8611..b1bc1d540b6 100644 --- a/addons/point_of_sale/views/point_of_sale.xml +++ b/addons/point_of_sale/views/point_of_sale.xml @@ -10,6 +10,7 @@ <link rel="stylesheet" type="text/less" href="/web/static/src/scss/fontawesome_overriden.scss"/> </t> + <script type="text/javascript" src="/point_of_sale/static/lib/backbone/backbone.js"></script> <script type="text/javascript" src="/point_of_sale/static/lib/waitfont.js"></script> <script type="text/javascript" src="/point_of_sale/static/src/js/main.js"></script> <script type="text/javascript" src="/point_of_sale/static/src/js/db.js"></script> diff --git a/addons/web/views/webclient_templates.xml b/addons/web/views/webclient_templates.xml index d8f6b34d263..5ccdf81055c 100644 --- a/addons/web/views/webclient_templates.xml +++ b/addons/web/views/webclient_templates.xml @@ -185,7 +185,6 @@ <script type="text/javascript" src="/base/static/src/js/res_config_settings.js"></script> <script type="text/javascript" src="/web/static/lib/jquery.scrollTo/jquery.scrollTo.js"></script> - <script type="text/javascript" src="/web/static/lib/backbone/backbone.js"></script> <script type="text/javascript" src="/web/static/lib/fuzzy-master/fuzzy.js"></script> <script type="text/javascript" charset="utf-8"> |
