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. 2
      pos_payment_terminal/views/pos_payment_terminal_template.xml

2
pos_payment_terminal/views/pos_payment_terminal_template.xml

@ -1,7 +1,7 @@
<?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">
<template id="assets" inherit_id="point_of_sale.assets" name="pos_payment_terminal assets">
<xpath expr="." position="inside"> <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" />

Loading…
Cancel
Save