Browse Source

Fix: don't load module in web backend

pull/294/head
hparfr 6 years ago
committed by Sylvain LE GAL
parent
commit
74f499a9c6
  1. 2
      pos_product_template/__manifest__.py
  2. 2
      pos_product_template/view/view.xml

2
pos_product_template/__manifest__.py

@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
{
'name': 'POS - Product Template',
'version': '10.0.1.0.1',
'version': '10.0.1.0.2',
'category': 'Point Of Sale',
'author': "Akretion,Odoo Community Association (OCA)",
'summary': 'Manage Product Template in Front End Point Of Sale',

2
pos_product_template/view/view.xml

@ -4,7 +4,7 @@
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). -->
<odoo>
<!-- Add: JS Files -->
<template id="assets_backend" name="point_of_sale assets2" inherit_id="web.assets_backend">
<template id="assets_backend" name="point_of_sale assets2" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_product_template/static/src/js/ppt.js"></script>
</xpath>

Loading…
Cancel
Save