Transform data on character fields

Allows to transform input in character fields before writing or reading it to/from the database

Technical Name:
field_char_transformed
Version:
8.0
License:
Author:
Therp BV
Website:
  • Odoo Version

License: AGPL-3

Transform data on character fields

This module was written to give programmers a convenient way to transform text input before it is written into the database or before it is read from it.

As a practical example, FieldCharStripped is provided, which strips whitespace from the value before it is committed.

Configuration

This module is a dependency to be used by programmers, not end users. There's no configuration to be done via the UI.

Usage

Depend on this module and import the field classes you need:

from openerp.addons.field_char_transformed import FieldCharTransformed, FieldCharStripped

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

Images

  • Odoo Community Association: Icon.

Contributors

Do not contact contributors directly about help with questions or problems concerning this addon, but use the community mailing list or the appropriate specialized mailinglist for help, and the bug tracker linked in Bug Tracker above for technical issues.

Maintainer

Odoo Community Association

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 https://odoo-community.org.