forked from Techsystech/web
Revert "[FIX] flake8"
parent
9fdf8be962
commit
ef161ae572
16
.coveragerc
16
.coveragerc
|
@ -1,16 +0,0 @@
|
||||||
# Config file .coveragerc
|
|
||||||
|
|
||||||
[report]
|
|
||||||
include =
|
|
||||||
*/OCA/web/*
|
|
||||||
omit =
|
|
||||||
*/tests/*
|
|
||||||
*__init__.py
|
|
||||||
|
|
||||||
# Regexes for lines to exclude from consideration
|
|
||||||
exclude_lines =
|
|
||||||
# Have to re-enable the standard pragma
|
|
||||||
pragma: no cover
|
|
||||||
|
|
||||||
# Don't complain about null context checking
|
|
||||||
if context is None:
|
|
|
@ -1,56 +0,0 @@
|
||||||
# Byte-compiled / optimized / DLL files
|
|
||||||
__pycache__/
|
|
||||||
*.py[cod]
|
|
||||||
|
|
||||||
# C extensions
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Distribution / packaging
|
|
||||||
.Python
|
|
||||||
env/
|
|
||||||
bin/
|
|
||||||
build/
|
|
||||||
develop-eggs/
|
|
||||||
dist/
|
|
||||||
eggs/
|
|
||||||
lib/
|
|
||||||
lib64/
|
|
||||||
parts/
|
|
||||||
sdist/
|
|
||||||
var/
|
|
||||||
*.egg-info/
|
|
||||||
.installed.cfg
|
|
||||||
*.egg
|
|
||||||
|
|
||||||
# Installer logs
|
|
||||||
pip-log.txt
|
|
||||||
pip-delete-this-directory.txt
|
|
||||||
|
|
||||||
# Unit test / coverage reports
|
|
||||||
htmlcov/
|
|
||||||
.tox/
|
|
||||||
.coverage
|
|
||||||
.cache
|
|
||||||
nosetests.xml
|
|
||||||
coverage.xml
|
|
||||||
|
|
||||||
# Translations
|
|
||||||
*.mo
|
|
||||||
|
|
||||||
# Pycharm
|
|
||||||
.idea
|
|
||||||
|
|
||||||
# Mr Developer
|
|
||||||
.mr.developer.cfg
|
|
||||||
.project
|
|
||||||
.pydevproject
|
|
||||||
|
|
||||||
# Rope
|
|
||||||
.ropeproject
|
|
||||||
|
|
||||||
# Sphinx documentation
|
|
||||||
docs/_build/
|
|
||||||
|
|
||||||
# Backup files
|
|
||||||
*~
|
|
||||||
*.swp
|
|
19
.travis.yml
19
.travis.yml
|
@ -1,19 +0,0 @@
|
||||||
language: python
|
|
||||||
python:
|
|
||||||
- "2.7"
|
|
||||||
|
|
||||||
virtualenv:
|
|
||||||
system_site_packages: true
|
|
||||||
|
|
||||||
install:
|
|
||||||
- git clone https://github.com/gurneyalex/maintainer-quality-tools.git $HOME/maintainer-quality-tools
|
|
||||||
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
|
|
||||||
- travis_install_nightly 7.0
|
|
||||||
- pip install coveralls flake8
|
|
||||||
|
|
||||||
script:
|
|
||||||
- travis_run_flake8
|
|
||||||
- travis_run_tests 7.0
|
|
||||||
|
|
||||||
after_success:
|
|
||||||
coveralls
|
|
12
README.md
12
README.md
|
@ -1,12 +0,0 @@
|
||||||
[](https://travis-ci.org/OCA/web)
|
|
||||||
[](https://coveralls.io/r/OCA/web?branch=7.0)
|
|
||||||
|
|
||||||
Web addons for Odoo
|
|
||||||
===================
|
|
||||||
|
|
||||||
This project aims to deal with modules related to the webclient of Odoo. You'll find modules that:
|
|
||||||
|
|
||||||
- Add facilities to the UI
|
|
||||||
- Add widgets
|
|
||||||
- Ease the import/export features
|
|
||||||
- Generally add clientside functionality
|
|
|
@ -19,3 +19,4 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
{
|
{
|
||||||
"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:
|
||||||
=====================================================
|
=====================================================
|
||||||
|
@ -41,3 +42,5 @@ Thanks to:
|
||||||
"installable" : True,
|
"installable" : True,
|
||||||
"active" : False,
|
"active" : False,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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,9 +38,12 @@ 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,
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,11 +22,9 @@ Documentations:
|
||||||
|
|
||||||
Technical informations:
|
Technical informations:
|
||||||
------------------------
|
------------------------
|
||||||
* Overloads "instance.web.form.FieldFloat"; (so works for fields.integer &
|
* Overloads "instance.web.form.FieldFloat"; (so works for fields.integer & fields.float);
|
||||||
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
|
* 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[...]");
|
||||||
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…
Reference in New Issue