Hi Andrew.
I have strange issue with report so I modified customers_report from demo to simulate that. When I have more than one python variables in same row with text written in report template, variable values don't load.
In next row, variables have only && in the between and then load.
Situation 1:
Situation 2:
Reports code:
def on_generate(report):
cust = report.task.customers.copy()
cust.set_where(id=1)
cust.open()
report.print_band('title')
firstname = cust.firstname.display_text
country = cust.country.display_text
phone = cust.phone.display_text
report.print_band('test', locals())
Report template is in attachment.
Regards
Danijel Kaurin