Browse Source

Merge pull request #30 from hbrunn/7.0-flake8

[FIX] flake8 errors
pull/382/head
Pedro M. Baeza 10 years ago
parent
commit
410b47480f
  1. 6
      web_m2x_options/__openerp__.py
  2. 11
      web_nocreatedb/__openerp__.py
  3. 3
      web_search_alphabetic/__init__.py
  4. 6
      web_search_alphabetic/__openerp__.py
  5. 4
      web_widget_float_formula/__init__.py
  6. 7
      web_widget_float_formula/__openerp__.py

6
web_m2x_options/__openerp__.py

@ -16,12 +16,14 @@ Add new options for many2one and many2manytags field:
Example: Example:
-------- --------
<field name="partner_id" options="{'limit': 10, 'create': false, 'create_edit': false}"/>
``<field name="partner_id" options="{'limit': 10, 'create': false,
'create_edit': false}"/>``
Note: Note:
----- -----
if one of those options are not set, many2one field use default many2one field options.
If one of those options are not set, many2one field uses default many2one
field options.
Thanks to: Thanks to:
---------- ----------

11
web_nocreatedb/__openerp__.py

@ -41,12 +41,13 @@ When you start your server add the name of this module in the "load" option::
Then you can start your server without the -u and -d (just the first time you Then you can start your server without the -u and -d (just the first time you
need update all to be sure all base and web will be fine). need update all to be sure all base and web will be fine).
With this option you can just take off and restart the server if you need to show
the link temporaly again.
With this option you can just take off and restart the server if you need to
show the link temporaly again.
TODO: It should be great add a parameter in the database to hide it configurable
way and with web_preload: True, but BTW, in old versions of openerp it was a
parameter in the config file, i think as it is is fine for now.
TODO: It should be great add a parameter in the database to hide it
configurable way and with web_preload: True, but BTW, in old versions of
openerp it was a parameter in the config file, i think as it is is fine for
now.
.. note:: This module probably will not be shown in your module list by default .. note:: This module probably will not be shown in your module list by default
You should create a menu to see "All modules without filter. You should create a menu to see "All modules without filter.

3
web_search_alphabetic/__init__.py

@ -3,7 +3,8 @@
# #
# OpenERP, Open Source Management Solution # OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
# Copyright (C) 2011-2014 Serpent Consulting Services (<http://www.serpentcs.com>)
# Copyright (C) 2011-2014 Serpent Consulting Services
# (<http://www.serpentcs.com>)
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as

6
web_search_alphabetic/__openerp__.py

@ -3,7 +3,8 @@
# #
# OpenERP, Open Source Management Solution # OpenERP, Open Source Management Solution
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
# Copyright (C) 2011-2014 Serpent Consulting Services (<http://www.serpentcs.com>)
# Copyright (C) 2011-2014 Serpent Consulting Services
# (<http://www.serpentcs.com>)
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as # it under the terms of the GNU Affero General Public License as
@ -29,7 +30,8 @@
OpenERP Web Search Extended. OpenERP Web Search Extended.
============================ ============================
This module used for search record base on alphabetical character be default it will search on name field.
This module used for search record base on alphabetical character be default it
will search on name field.
User also is able to change search field name instead of name field. User also is able to change search field name instead of name field.
""", """,
'version': '1.0', 'version': '1.0',

4
web_widget_float_formula/__init__.py

@ -1,4 +1,4 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
################################################################################
###############################################################################
# See __openerp__.py file for Copyright and Licence Informations. # See __openerp__.py file for Copyright and Licence Informations.
################################################################################
###############################################################################

7
web_widget_float_formula/__openerp__.py

@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
################################################################################
###############################################################################
# See Copyright and Licence Informations undermentioned. # See Copyright and Licence Informations undermentioned.
################################################################################
###############################################################################
{ {
'name': 'Web Widget - Formulas in Float fields', 'name': 'Web Widget - Formulas in Float fields',
'version': '1.0', 'version': '1.0',
@ -35,7 +35,8 @@ Limits:
Copyright and Licence: Copyright and Licence:
----------------------- -----------------------
* 2013, Groupement Régional Alimentaire de Proximité (http://www.grap.coop/)
* 2013, Groupement Régional Alimentaire de Proximité
(http://www.grap.coop/)
* Licence: AGPL-3 (http://www.gnu.org/licenses/) * Licence: AGPL-3 (http://www.gnu.org/licenses/)
Contacts : Contacts :

Loading…
Cancel
Save