On 06 Jun 04:17, Paul Leverett wrote:
> 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.

I think you should not change the internal name because it should be the
name of the Report class.

> 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>*

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgp7prrMlmTFV.pgp
Description: PGP signature

Reply via email to