3
0
Fork 0

pep8 correction

8.0
Ahmet Altinisik 2016-01-19 15:38:12 +02:00
parent 2efec729c4
commit a00fba3d4f
4 changed files with 28 additions and 26 deletions

View File

@ -2,9 +2,9 @@
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3 :alt: License: AGPL-3
================================ ===============================
Hide left Menu in Web interface Hide left Menu in Web interface
================================ ===============================
This module adds a menu item after logout link to hide or show left menu. This module adds a menu item after logout link to hide or show left menu.
It is useful on small screens or tree views with many columns. It is useful on small screens or tree views with many columns.

View File

@ -12,7 +12,13 @@
"license": "AGPL-3", "license": "AGPL-3",
"application": False, "application": False,
"installable": True, "installable": True,
"depends": ["web",], "depends": [
"data": ["web_hideleftmenu_js.xml",], "web",
"qweb": ["static/src/xml/lib.xml",], ],
"data": [
"web_hideleftmenu_js.xml",
],
"qweb": [
"static/src/xml/lib.xml",
],
} }

View File

@ -2,16 +2,12 @@
<openerp> <openerp>
<data> <data>
<template id="hideleft_assets_backend" name="web_hideleftmenu assets" <template id="hideleft_assets_backend" name="web_hideleftmenu assets" inherit_id="web.assets_backend">
inherit_id="web.assets_backend">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<link rel="stylesheet" <link rel="stylesheet" href="/web_hideleftmenu/static/src/css/lib.css"/>
href="/web_hideleftmenu/static/src/css/lib.css"/> <script type="text/javascript" src="/web_hideleftmenu/static/src/js/lib.js"></script>
<script type="text/javascript"
src="/web_hideleftmenu/static/src/js/lib.js"></script>
</xpath> </xpath>
</template> </template>
</data> </data>
</openerp> </openerp>