diff --git a/base_field_validator/README.rst b/base_field_validator/README.rst new file mode 100644 index 000000000..ebb18000d --- /dev/null +++ b/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 `_. +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 `_. + + +Credits +======= + +Contributors +------------ + +* Lorenzo Battistini +* Nicola Malcontenti + +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. diff --git a/base_field_validator/__openerp__.py b/base_field_validator/__openerp__.py index 1c6bd0aa9..8c3796b01 100644 --- a/base_field_validator/__openerp__.py +++ b/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 -* Nicola Malcontenti - -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', diff --git a/base_field_validator/static/src/img/icon.png b/base_field_validator/static/description/icon.png similarity index 100% rename from base_field_validator/static/src/img/icon.png rename to base_field_validator/static/description/icon.png