OCA reporting engine fork for dev and update.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
892 B

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <report
  4. id="test_report_length_report_id"
  5. model="res.company"
  6. string="Length Report"
  7. report_type="qweb-html"
  8. name="report_qweb_parameter.test_report_length"
  9. />
  10. <template id="test_report_length">
  11. <data>
  12. <li name="esc_length" t-minlength="10" t-length="10"
  13. t-esc="docs[0].street" t-if="docs[0].street"/>
  14. <li name="esc_maxlength" t-maxlength="10"
  15. t-esc="docs[0].website" t-if="docs[0].website"/>
  16. <li name="raw_length" t-minlength="10" t-length="10"
  17. t-raw="docs[0].vat" t-if="docs[0].vat"/>
  18. <li name="raw_maxlength" t-maxlength="10"
  19. t-raw="docs[0].company_registry"
  20. t-if="docs[0].company_registry"/>
  21. </data>
  22. </template>
  23. </odoo>