diff --git a/addons/point_of_sale/views/templates.xml b/addons/point_of_sale/views/templates.xml
index 0d69cc157ee..1c6627b631f 100644
--- a/addons/point_of_sale/views/templates.xml
+++ b/addons/point_of_sale/views/templates.xml
@@ -46,8 +46,13 @@
});
return web_client;
});
-
+ odoo.define('web.csrf', function (require) {
+ var token = "