[MIG] report_qweb_parameter: Migration to v13

This commit is contained in:
Carlos Roca
2020-10-28 10:23:07 +01:00
parent d0d22e7a5a
commit 3bf1d08670
10 changed files with 561 additions and 30 deletions

View File

@@ -0,0 +1,5 @@
* Enric Tobella <etobella@creublanca.es>
* `Tecnativa <https://www.tecnativa.com>`_:
* Carlos Roca

View File

@@ -0,0 +1,7 @@
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.

View File

@@ -0,0 +1,3 @@
#. Add a t-length attribute on report templates fields that will truncate the field
#. Add a t-minlength attribute on report template fields that will check the min length
#. Add a t-maxlength attribute on report template fields that will check the max length