addons/pos_self_order_stripe/views/assets_stripe.xml
raw| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <odoo> |
| 3 | <template id="stripe" inherit_id="pos_self_order.index"> |
| 4 | <xpath expr="//head" position="inside"> |
| 5 | <!-- As the following link does not end with '.js', it's not loaded when |
| 6 | placed in __manifest__.py. The following declaration fix this problem --> |
| 7 | <script src="https://js.stripe.com/terminal/v1/"></script> |
| 8 | </xpath> |
| 9 | </template> |
| 10 | </odoo> |