eLBati
9 years ago
3 changed files with 66 additions and 48 deletions
-
66base_field_validator/README.rst
-
48base_field_validator/__openerp__.py
-
0base_field_validator/static/description/icon.png
@ -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. |
Before Width: 249 | Height: 249 | Size: 18 KiB After Width: 249 | Height: 249 | Size: 18 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue