Browse Source

[FIX] flake8

pull/6/head
Holger Brunn 11 years ago
parent
commit
4b2fa3ac42
  1. 1
      web_ckeditor4/__init__.py
  2. 108
      web_ckeditor4/__openerp__.py
  3. 4
      web_color/__openerp__.py
  4. 16
      web_ir_actions_act_window_page/__openerp__.py
  5. 9
      web_m2x_options/__openerp__.py
  6. 6
      web_search_alphabetic/__openerp__.py
  7. 13
      web_send_message_popup/__openerp__.py
  8. 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/>.
# #
############################################################################## ##############################################################################

108
web_ckeditor4/__openerp__.py

@ -51,60 +51,60 @@
#cd trunk #cd trunk
#git checkout remotes/origin/release/4.1.x #git checkout remotes/origin/release/4.1.x
#and uncomment the lines below #and uncomment the lines below
# 'static/lib/trunk/ckeditor.js',
# 'static/lib/trunk/core/event.js',
# 'static/lib/trunk/core/editor_basic.js',
# 'static/lib/trunk/core/env.js',
# 'static/lib/trunk/core/ckeditor_basic.js',
# 'static/lib/trunk/core/dom.js',
# 'static/lib/trunk/core/tools.js',
# 'static/lib/trunk/core/dtd.js',
# 'static/lib/trunk/core/dom/event.js',
# 'static/lib/trunk/core/dom/domobject.js',
# 'static/lib/trunk/core/dom/node.js',
# 'static/lib/trunk/core/dom/window.js',
# 'static/lib/trunk/core/dom/document.js',
# 'static/lib/trunk/core/dom/nodelist.js',
# 'static/lib/trunk/core/dom/element.js',
# 'static/lib/trunk/core/dom/documentfragment.js',
# 'static/lib/trunk/core/dom/walker.js',
# 'static/lib/trunk/core/dom/range.js',
# 'static/lib/trunk/core/dom/iterator.js',
# 'static/lib/trunk/core/command.js',
# 'static/lib/trunk/core/ckeditor_base.js',
# 'static/lib/trunk/core/config.js',
# 'static/lib/trunk/core/filter.js',
# 'static/lib/trunk/core/focusmanager.js',
# 'static/lib/trunk/core/keystrokehandler.js',
# 'static/lib/trunk/core/lang.js',
# 'static/lib/trunk/core/scriptloader.js',
# 'static/lib/trunk/core/resourcemanager.js',
# 'static/lib/trunk/core/plugins.js',
# 'static/lib/trunk/core/ui.js',
# 'static/lib/trunk/core/editor.js',
# 'static/lib/trunk/core/htmlparser.js',
# 'static/lib/trunk/core/htmlparser/basicwriter.js',
# 'static/lib/trunk/core/htmlparser/node.js',
# 'static/lib/trunk/core/htmlparser/comment.js',
# 'static/lib/trunk/core/htmlparser/text.js',
# 'static/lib/trunk/core/htmlparser/cdata.js',
# 'static/lib/trunk/core/htmlparser/fragment.js',
# 'static/lib/trunk/core/htmlparser/filter.js',
# 'static/lib/trunk/core/htmldataprocessor.js',
# 'static/lib/trunk/core/htmlparser/element.js',
# 'static/lib/trunk/core/template.js',
# 'static/lib/trunk/core/ckeditor.js',
# 'static/lib/trunk/core/creators/inline.js',
# 'static/lib/trunk/core/creators/themedui.js',
# 'static/lib/trunk/core/editable.js',
# 'static/lib/trunk/core/selection.js',
# 'static/lib/trunk/core/style.js',
# 'static/lib/trunk/core/dom/comment.js',
# 'static/lib/trunk/core/dom/elementpath.js',
# 'static/lib/trunk/core/dom/text.js',
# 'static/lib/trunk/core/dom/rangelist.js',
# 'static/lib/trunk/core/skin.js',
# 'static/lib/trunk/core/_bootstrap.js',
#'static/lib/trunk/ckeditor.js',
#'static/lib/trunk/core/event.js',
#'static/lib/trunk/core/editor_basic.js',
#'static/lib/trunk/core/env.js',
#'static/lib/trunk/core/ckeditor_basic.js',
#'static/lib/trunk/core/dom.js',
#'static/lib/trunk/core/tools.js',
#'static/lib/trunk/core/dtd.js',
#'static/lib/trunk/core/dom/event.js',
#'static/lib/trunk/core/dom/domobject.js',
#'static/lib/trunk/core/dom/node.js',
#'static/lib/trunk/core/dom/window.js',
#'static/lib/trunk/core/dom/document.js',
#'static/lib/trunk/core/dom/nodelist.js',
#'static/lib/trunk/core/dom/element.js',
#'static/lib/trunk/core/dom/documentfragment.js',
#'static/lib/trunk/core/dom/walker.js',
#'static/lib/trunk/core/dom/range.js',
#'static/lib/trunk/core/dom/iterator.js',
#'static/lib/trunk/core/command.js',
#'static/lib/trunk/core/ckeditor_base.js',
#'static/lib/trunk/core/config.js',
#'static/lib/trunk/core/filter.js',
#'static/lib/trunk/core/focusmanager.js',
#'static/lib/trunk/core/keystrokehandler.js',
#'static/lib/trunk/core/lang.js',
#'static/lib/trunk/core/scriptloader.js',
#'static/lib/trunk/core/resourcemanager.js',
#'static/lib/trunk/core/plugins.js',
#'static/lib/trunk/core/ui.js',
#'static/lib/trunk/core/editor.js',
#'static/lib/trunk/core/htmlparser.js',
#'static/lib/trunk/core/htmlparser/basicwriter.js',
#'static/lib/trunk/core/htmlparser/node.js',
#'static/lib/trunk/core/htmlparser/comment.js',
#'static/lib/trunk/core/htmlparser/text.js',
#'static/lib/trunk/core/htmlparser/cdata.js',
#'static/lib/trunk/core/htmlparser/fragment.js',
#'static/lib/trunk/core/htmlparser/filter.js',
#'static/lib/trunk/core/htmldataprocessor.js',
#'static/lib/trunk/core/htmlparser/element.js',
#'static/lib/trunk/core/template.js',
#'static/lib/trunk/core/ckeditor.js',
#'static/lib/trunk/core/creators/inline.js',
#'static/lib/trunk/core/creators/themedui.js',
#'static/lib/trunk/core/editable.js',
#'static/lib/trunk/core/selection.js',
#'static/lib/trunk/core/style.js',
#'static/lib/trunk/core/dom/comment.js',
#'static/lib/trunk/core/dom/elementpath.js',
#'static/lib/trunk/core/dom/text.js',
#'static/lib/trunk/core/dom/rangelist.js',
#'static/lib/trunk/core/skin.js',
#'static/lib/trunk/core/_bootstrap.js',
#end of ckeditor debug #end of ckeditor debug
'static/src/js/web_ckeditor4.js', 'static/src/js/web_ckeditor4.js',
], ],

4
web_color/__openerp__.py

@ -23,7 +23,7 @@
{ {
'name': "Web Color", 'name': "Web Color",
'author': "Savoir-faire Linux", 'author': "Savoir-faire Linux",
'category' : "Hidden",
'category': "Hidden",
'description': """ 'description': """
This module provides a color widget to display the color from This module provides a color widget to display the color from
the hexadecimal value of your field. the hexadecimal value of your field.
@ -38,7 +38,7 @@
'static/src/css/color.css', 'static/src/css/color.css',
'static/lib/really-simple-color-picker/colorPicker.css', 'static/lib/really-simple-color-picker/colorPicker.css',
], ],
'qweb' : ['static/src/xml/lib.xml'],
'qweb': ['static/src/xml/lib.xml'],
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,
'web_preload': False, 'web_preload': False,

16
web_ir_actions_act_window_page/__openerp__.py

@ -19,9 +19,9 @@
# #
############################################################################## ##############################################################################
{ {
"name" : "Window actions for client side paging",
"version" : "1.0",
"author" : "Therp BV",
"name": "Window actions for client side paging",
"version": "1.0",
"author": "Therp BV",
"complexity": "normal", "complexity": "normal",
"description": """ "description": """
Client side paging Client side paging
@ -37,10 +37,10 @@ or::
which trigger the form's controller to page into the requested direction. which trigger the form's controller to page into the requested direction.
""", """,
"category" : "Dependency",
"depends" : [
"category": "Dependency",
"depends": [
], ],
"data" : [
"data": [
], ],
"js": [ "js": [
'static/src/js/web_ir_actions_act_window_page.js', 'static/src/js/web_ir_actions_act_window_page.js',
@ -51,7 +51,7 @@ which trigger the form's controller to page into the requested direction.
], ],
"auto_install": False, "auto_install": False,
"installable": True, "installable": True,
"external_dependencies" : {
'python' : [],
"external_dependencies": {
'python': [],
}, },
} }

9
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:
===================================================== =====================================================
@ -39,8 +38,6 @@ Thanks to:
'static/src/js/form.js', 'static/src/js/form.js',
], ],
"author": "Tuxservices", "author": "Tuxservices",
"installable" : True,
"active" : False,
"installable": True,
"active": False,
} }

6
web_search_alphabetic/__openerp__.py

@ -22,8 +22,8 @@
{ {
'name': 'Web Alphabetical Search', 'name': 'Web Alphabetical Search',
'author' : 'Serpent Consulting Services Pvt. Ltd.',
'category' : 'Web',
'author': 'Serpent Consulting Services Pvt. Ltd.',
'category': 'Web',
'website': 'http://www.serpentcs.com', 'website': 'http://www.serpentcs.com',
'description': """ 'description': """
OpenERP Web Search Extended. OpenERP Web Search Extended.
@ -40,7 +40,7 @@ User also is able to change search field name instead of name field.
'css': [ 'css': [
'static/src/css/web_search.css' 'static/src/css/web_search.css'
], ],
'qweb' : [
'qweb': [
'static/src/xml/web_search.xml', 'static/src/xml/web_search.xml',
], ],
'auto_install': False 'auto_install': 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