Browse Source

Fix JS loading : module should only be loaded in pos Fix indentation

pull/389/head
hparfr 6 years ago
committed by Denis Roussel
parent
commit
b146729c49
  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