Browse Source

Merge pull request #28 from taktik/8.0-web_easy_switch_company

[FIX] Remove obsolete instruct (JS) in openerp.py
pull/39/head
Holger Brunn 11 years ago
parent
commit
d43170ef80
  1. 3
      web_easy_switch_company/__openerp__.py
  2. 2
      web_easy_switch_company/view/res_users_view.xml

3
web_easy_switch_company/__openerp__.py

@ -60,9 +60,6 @@ Copyright, Author and Licence:
'data': [
'view/res_users_view.xml',
],
'js': [
'static/src/js/switch_company.js',
],
'qweb': [
'static/src/xml/switch_company.xml',
],

2
web_easy_switch_company/view/res_users_view.xml

@ -14,7 +14,7 @@
</field>
</record>
<template id="assets_backend" name="web_tests assets" inherit_id="web.assets_backend">
<template id="assets_backend" name="web_easy_switch_company assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<script type="text/javascript" src="/web_easy_switch_company/static/src/js/switch_company.js"></script>
</xpath>

Loading…
Cancel
Save