summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js
diff options
context:
space:
mode:
authorJoseph Caburnay <jcb@odoo.com>2020-06-15 09:59:37 +0000
committerJoseph Caburnay <jcb@odoo.com>2020-07-17 10:00:04 +0000
commitb2f8170d88239b5eaf04f1e3c0dcef613b78fedc (patch)
treeae1a178dab9afd382cd9e45e8db5b28d6a6424e5 /addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js
parent39ff9d95c2c2b09e7d6ec47051ca0bb3c9f6165a (diff)
[IMP] point_of_sale,pos_*: allow users to manage orders in the pos frontend
We now allow invoicing of finalized orders in an open session in this first iteration of order management in the pos frontend. Additionally, receipt reprinting is also introduced. With this feature, we can now reprint the receipt of old orders. closes odoo/odoo#51141 Task-id: 1981354 Related: odoo/enterprise#11690 Related: odoo/upgrade#1472 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js')
-rw-r--r--addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js b/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js
index 9570aa0b7e8..c1ad31804e6 100644
--- a/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js
+++ b/addons/point_of_sale/static/tests/unit/test_ChromeWidgets.js
@@ -54,6 +54,7 @@ odoo.define('point_of_sale.tests.ChromeWidgets', function (require) {
class Parent extends PopupControllerMixin(PosComponent) {}
Parent.env = makePosTestEnv();
+ Parent.env.chrome = new owl.Context({ showOrderSelector: true });
Parent.template = xml/* html */ `
<div>
<OrderSelector></OrderSelector>