Details
Assignee
Tim AndersonTim AndersonReporter
Tim AndersonTim AndersonComponents
Fix versions
Priority
MinorWho's Looking?
Open Who's Looking?
Details
Details
Assignee
Tim Anderson
Tim AndersonReporter
Tim Anderson
Tim AndersonComponents
Fix versions
Priority
Who's Looking?
Open Who's Looking?
Created October 6, 2021 at 12:20 AM
Updated August 6, 2024 at 12:30 AM
If a site customises standard templates (Invoice, Receipt etc), and uses a different report template name, running:
will load a duplicate instance. The existing instance will continue to be used, as the template with the lowest identifier is selected.
To limit the number of duplicates loaded, skip loading templates where there is an existing template for a lookup.documentTemplateType with a different filename, unless the lookup.documentTemplateType is one of:
act.*Form
act.*Letter
REPORT
SUB_REPORT
Note that this cannot prevent duplicate sub-reports being loaded, as these all are of type SUB_REPORT, and parent templates load them using expressions. E.g.: invoices load invoice items using: