Skip to main content

Add new parameters for qweb templates in order to reduce field length and check minimal length

Project description

License: AGPL-3

Report QWeb Parameter

This module allows you to add new parameters on QWeb reports. Currently, we have defined a field maximum on a report and a validation of maximal and minimal size. It is useful on xml reports in order to validate length. XML are sometimes XSD dependant and we must validate its format. For example, in spanish facturae (http://www.facturae.gob.es/Paginas/Index.aspx), where length and format must be validated in several fields in order to send an invoice.

Usage

  1. Add a t-length attribute on report templates fields that will truncate the field

  2. Add a t-minlength attribute on report template fields that will check the min length

  3. Add a t-maxlength attribute on report template fields that will check the max length

Try me on Runbot

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.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo12_addon_report_qweb_parameter-12.0.1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo12_addon_report_qweb_parameter-12.0.1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ab25964658dd9ea474e55c0e65fafb1cc9e7d5d2a48a862d2c9c48410270c4f
MD5 61c7ae37b4433f3c6d485140ca0be196
BLAKE2b-256 d3cb37397e9a41d7c173434d3ac689c4bf628fc1f2469354bc7a0c6c6a286edb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page