Browse Source

pep8 correction

pull/294/head
Ahmet Altinisik 9 years ago
parent
commit
a00fba3d4f
  1. 4
      web_hideleftmenu/README.rst
  2. 12
      web_hideleftmenu/__openerp__.py
  3. 10
      web_hideleftmenu/web_hideleftmenu_js.xml

4
web_hideleftmenu/README.rst

@ -2,9 +2,9 @@
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
================================
===============================
Hide left Menu in Web interface
================================
===============================
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.

12
web_hideleftmenu/__openerp__.py

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

10
web_hideleftmenu/web_hideleftmenu_js.xml

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