Is there something special about Sales module that stops me adding more 
reports? I am trying to add a variant of the Sale report (Quotation/Order 
confirmation etc) but my variant has some fields removed and slightly 
different formatting. I want this in addition to my main (customised) Sale 
report.

If I upload my new report *instead* of the existing report it works OK, so 
I know my odt template is good.

This is my method for adding a second report:
1) Create a new record in Administration>User Interface>Actions>Reports by 
duplicating the existing report "Sale".  On the duplicate, change the name 
to Sale1 and internal name to sale.sale1 on the duplicate. Do not change 
the path or any other details.
2) Restart Tryton client to make the new report show up in the "Open 
Report" icon. There are now two options, Sale and Sale1.
3) Test Sale Report - OK, same as before.
4) Test Sale1 Report - shows the Tryton default Sale report - OK
5) Upload my custom template to Sale1 "content" field and save the record
6) Test Sale Report - OK, same as before.
7) Test Sale1 Report -* Application Error! <ProtocolError ... 500 Internal 
Server Error>*
8) Upload backup of standard sale template to Sale1 - works OK
9) Download a copy of my customised version of Sale.odt from Sale and 
upload to Sale1:
 - *Test Sale1 Report - Application Error! <ProtocolError ... 500 Internal 
Server Error>*

I have used this same methodology in Purchases module and it works fine 
there.

Is there something special about Sales that prevents me from adding a 
second report?
Am I doing something wrong?

Thanks,
Paul

Reply via email to