Browse Source

[FIX] flake8

pull/6/head
Holger Brunn 10 years ago
parent
commit
4b2fa3ac42
  1. 1
      web_ckeditor4/__init__.py
  2. 5
      web_m2x_options/__openerp__.py
  3. 13
      web_send_message_popup/__openerp__.py
  4. 6
      web_widget_float_formula/__openerp__.py

1
web_ckeditor4/__init__.py

@ -19,4 +19,3 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
############################################################################## ##############################################################################

5
web_m2x_options/__openerp__.py

@ -3,8 +3,7 @@
{ {
"name": 'web_m2x_options', "name": 'web_m2x_options',
"version": "0.1", "version": "0.1",
"description":
"""
"description": """
===================================================== =====================================================
Add new options for many2one and many2manytags field: Add new options for many2one and many2manytags field:
===================================================== =====================================================
@ -42,5 +41,3 @@ Thanks to:
"installable": True, "installable": True,
"active": False, "active": False,
} }

13
web_send_message_popup/__openerp__.py

@ -19,14 +19,14 @@
# #
############################################################################## ##############################################################################
{'name': 'Web Send Message as Popup',
{
'name': 'Web Send Message as Popup',
'version': '1.0', 'version': '1.0',
'author': 'Camptocamp', 'author': 'Camptocamp',
'maintainer': 'Camptocamp', 'maintainer': 'Camptocamp',
'license': 'AGPL-3', 'license': 'AGPL-3',
'category': 'Hidden', 'category': 'Hidden',
'depends': ['web',
],
'depends': ['web'],
'description': """ 'description': """
Web Send Message as Popup Web Send Message as Popup
========================= =========================
@ -38,12 +38,9 @@ attachments and followers.
This module changes the link 'Send a message' so it opens directly the This module changes the link 'Send a message' so it opens directly the
full featured popup instead of the text field, avoiding an extra click full featured popup instead of the text field, avoiding an extra click
if the popup is always wanted.
""",
if the popup is always wanted.""",
'website': 'http://www.camptocamp.com', 'website': 'http://www.camptocamp.com',
'qweb': ['static/src/xml/mail.xml',
],
'qweb': ['static/src/xml/mail.xml'],
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,
} }

6
web_widget_float_formula/__openerp__.py

@ -22,9 +22,11 @@ Documentations:
Technical informations: Technical informations:
------------------------ ------------------------
* Overloads "instance.web.form.FieldFloat"; (so works for fields.integer & fields.float);
* Overloads "instance.web.form.FieldFloat"; (so works for fields.integer &
fields.float);
* To compute, the module simply use the eval() javascript function; * To compute, the module simply use the eval() javascript function;
* Rounding computation is not done by this module (The module has the same behaviour if the user tips "=1/3" or if he tips "0.33[...]");
* Rounding computation is not done by this module (The module has the same
behaviour if the user tips "=1/3" or if he tips "0.33[...]");
* avoid code injonction by regexpr test: "=alert('security')" is not valid; * avoid code injonction by regexpr test: "=alert('security')" is not valid;
Limits: Limits:

Loading…
Cancel
Save