[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
This commit is contained in:
committed by
Géry Debongnie
parent
86b6bd5ad1
commit
84a1d7bd59
@@ -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",
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="o_main_content"/>
|
||||
</body>
|
||||
</html>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user