summaryrefslogtreecommitdiff
path: root/addons/pos_hr/views
diff options
context:
space:
mode:
authorRobin Heinz <rhe@odoo.com>2019-07-17 12:57:27 +0000
committerPierre Masereel <pim@odoo.com>2019-08-02 09:33:05 +0000
commit987951a8d44276d768566752fdf4be2a55dd25f2 (patch)
tree8aa9c96713a9e0605c736d0c34bdbcf25bab125a /addons/pos_hr/views
parent2ef96ee8cc326c76a8bc53216f1d9be98a924d8c (diff)
[IMP] point_of_sale: Navigation as employee from frontend to backend.
We added a button for the front end closure to go back to the back end. Before this, the only way to go back was to change the URL, now we can close the session with the frontend properly. Also moved the css related to pos_hr in the good directory. Task-id: 2032178 closes odoo/odoo#34948 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/pos_hr/views')
-rw-r--r--addons/pos_hr/views/point_of_sale.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/pos_hr/views/point_of_sale.xml b/addons/pos_hr/views/point_of_sale.xml
index 3c67fa999ed..4362faf76ee 100644
--- a/addons/pos_hr/views/point_of_sale.xml
+++ b/addons/pos_hr/views/point_of_sale.xml
@@ -2,6 +2,8 @@
<odoo>
<template id="assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
+ <link rel="stylesheet" href="/pos_hr/static/src/css/pos.css"/>
+
<script type="text/javascript" src="/pos_hr/static/src/js/models.js"></script>
<script type="text/javascript" src="/pos_hr/static/src/js/screens.js"></script>
<script type="text/javascript" src="/pos_hr/static/src/js/gui.js"></script>