when I try to use my custom report template for the sale model, I get the following error when trying to export the report:
genshi.template.eval.UndefinedError: "sale" not defined
However, when I remove all “sale” elements and e.g. try company.rec_name in the template, everything works. Do you have any idea what could be the problem here?
Thanks