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.

39 lines
1.2 KiB

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <odoo>
  3. <record id="test_report_length_report_id" model="ir.actions.report">
  4. <field name="name">Length Report</field>
  5. <field name="model">res.company</field>
  6. <field name="report_type">qweb-html</field>
  7. <field name="report_name">report_qweb_parameter.test_report_length</field>
  8. </record>
  9. <template id="test_report_length">
  10. <data>
  11. <li
  12. name="esc_length"
  13. t-minlength="10"
  14. t-length="10"
  15. t-esc="docs[0].street"
  16. t-if="docs[0].street"
  17. />
  18. <li
  19. name="esc_maxlength"
  20. t-maxlength="10"
  21. t-esc="docs[0].website"
  22. t-if="docs[0].website"
  23. />
  24. <li
  25. name="raw_length"
  26. t-minlength="10"
  27. t-length="10"
  28. t-raw="docs[0].vat"
  29. t-if="docs[0].vat"
  30. />
  31. <li
  32. name="raw_maxlength"
  33. t-maxlength="10"
  34. t-raw="docs[0].company_registry"
  35. t-if="docs[0].company_registry"
  36. />
  37. </data>
  38. </template>
  39. </odoo>