Browse Source

Fix JS loading : module should only be loaded in pos

Fix indentation
pull/440/head
hparfr 6 years ago
committed by Sylvain LE GAL
parent
commit
49b8f9040a
  1. 6
      pos_payment_terminal/views/pos_payment_terminal_template.xml

6
pos_payment_terminal/views/pos_payment_terminal_template.xml

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<odoo> <odoo>
<template id="assets" inherit_id="point_of_sale.assets_backend" name="pos_payment_terminal assets">
<xpath expr="." position="inside">
<template id="assets" inherit_id="point_of_sale.assets" name="pos_payment_terminal assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_payment_terminal/static/src/js/pos_payment_terminal.js"></script> <script type="text/javascript" src="/pos_payment_terminal/static/src/js/pos_payment_terminal.js"></script>
<link rel="stylesheet" href="/pos_payment_terminal/static/src/css/pos_payment_terminal.css" />
<link rel="stylesheet" href="/pos_payment_terminal/static/src/css/pos_payment_terminal.css" />
</xpath> </xpath>
</template> </template>

Loading…
Cancel
Save