Browse Source

Fix JS loading : module should only be loaded in pos

Fix indentation
pull/296/head
hparfr 6 years ago
parent
commit
9a022eab1b
  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"?>
<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>
<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>
</template>

Loading…
Cancel
Save