Browse Source

IMP description and message

Conflicts:
	base_field_validator/ir_model.py
pull/246/head
eLBati 9 years ago
parent
commit
c6cf105daf
  1. 66
      base_field_validator/README.rst
  2. 48
      base_field_validator/__openerp__.py
  3. 0
      base_field_validator/static/description/icon.png

66
base_field_validator/README.rst

@ -0,0 +1,66 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
Fields Validator
================
This module allows to set a regular expression as field validator.
When the regular expresion is set, write and create operations on the involved
field are blocked, if the regular expression is not satisfied.
See demo and test data for an example with partner email.
Configuration
=============
Open ir.model form (say res.partner) and add 'Validators' lines
Usage
=====
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/149/8.0
Known issues / Roadmap
======================
The module performs the check at server side. Client side check is also needed,
to improve user experience and avoid server calls when unnecessary
Bug Tracker
===========
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/server-tools/issues/new?body=module:%20base_field_validator%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======
Contributors
------------
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Nicola Malcontenti <nicola.malcontenti@agilebg.com>
Maintainer
----------
.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization
whose mission is to support the collaborative development of Odoo features
and promote its widespread use.
To contribute to this module, please visit http://odoo-community.org.

48
base_field_validator/__openerp__.py

@ -23,54 +23,6 @@
'version': '0.1',
'category': 'Tools',
'summary': "Validate fields using regular expressions",
'description': """
Fields Validator
================
This module allows to set a regular expression as field validator.
When the regular expresion is set, write and create operations on the involved
field are blocked, if the regular expression is not satisfied.
See demo and test data for an example with partner email.
Configuration
=============
Open ir.model form (say res.partner) and add 'Validators' lines
Known issues / Roadmap
======================
The module performs the check at server side. Client side check is also needed,
to improve user experience and avoid server calls when unnecessary
Credits
=======
Contributors
------------
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Nicola Malcontenti <nicola.malcontenti@agilebg.com>
Maintainer
----------
.. image:: http://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: http://odoo-community.org
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization
whose mission is to support the collaborative development of Odoo features
and promote its widespread use.
To contribute to this module, please visit http://odoo-community.org.
""",
'author': 'Agile Business Group',
'website': 'http://www.agilebg.com',
'license': 'AGPL-3',

0
base_field_validator/static/src/img/icon.png → base_field_validator/static/description/icon.png

Before

Width: 249  |  Height: 249  |  Size: 18 KiB

After

Width: 249  |  Height: 249  |  Size: 18 KiB

Loading…
Cancel
Save