diff options
| author | Aaron Bohy <aab@odoo.com> | 2018-12-06 12:38:30 +0000 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-12-07 13:16:09 +0000 |
| commit | 84a1d7bd59ebfc283745a0b1b65b0872ffc21182 (patch) | |
| tree | f6f4a41311ef7b0675d77d4cbeb9e6ba210a4da1 /addons | |
| parent | 86b6bd5ad1e8002d47604889fbe6bee170b2760e (diff) | |
[FIX] point_of_sale: adapt webclient template
according to changes in web.
Some changes have been made to the webclient template (and widget)
in web, and the pos (using the webclient widget as well) needed to
be adapted.
Part of task 1893568
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/point_of_sale/static/src/js/tests.js | 4 | ||||
| -rw-r--r-- | addons/point_of_sale/views/pos_templates.xml | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/addons/point_of_sale/static/src/js/tests.js b/addons/point_of_sale/static/src/js/tests.js index 78dfa8cdca2..59cddd0f352 100644 --- a/addons/point_of_sale/static/src/js/tests.js +++ b/addons/point_of_sale/static/src/js/tests.js @@ -50,7 +50,7 @@ odoo.define('point_of_sale.tour.pricelist', function (require) { run: 'click', }, { content: 'waiting for loading to finish', - trigger: '.o_main_content:has(.loader:hidden)', + trigger: 'body:has(.loader:hidden)', run: function () { var product_wall_shelf = posmodel.db.search_product_in_category(0, 'Wall Shelf Unit')[0]; var product_small_shelf = posmodel.db.search_product_in_category(0, 'Small Shelf')[0]; @@ -312,7 +312,7 @@ odoo.define('point_of_sale.tour.acceptance', function (require) { var steps = [{ content: 'waiting for loading to finish', - trigger: '.o_main_content:has(.loader:hidden)', + trigger: 'body:has(.loader:hidden)', run: function () {}, // it's a check }, { // Leave category displayed by default content: "click category switch", diff --git a/addons/point_of_sale/views/pos_templates.xml b/addons/point_of_sale/views/pos_templates.xml index 7327aa936c6..88a108bc12c 100644 --- a/addons/point_of_sale/views/pos_templates.xml +++ b/addons/point_of_sale/views/pos_templates.xml @@ -55,7 +55,6 @@ </script> </head> <body> - <div class="o_main_content"/> </body> </html> </template> |
