Jump to content

Prestashop 1.6.0.9: error generating delivery slip PDF after upgrade


PizzaPie

Recommended Posts

Hi to everyone,

 

I'm gettin a blank page when I try to generate delivery slip.

Just to be clear, a blank page without any error reporting.

 

I've upgraded to prestashop 1.6.0.9 two days ago, and it seems that I can't generate pdf only for orders I get AFTER upgrading.

 

The other orders (before upgrading) generates PDF correctly.

 

Any  advice?

Edited by PizzaPie (see edit history)
Link to comment
Share on other sites

I've also upgraded with 1-click upgrade.

I now have that version of the module but I think I can't do another upgrade.

 

I've tried a rollback of the previous version on a test server, but it ended with an error and the site crashed.

I don't understand why I see a black page instead of an error... I've enabled the error reporting!

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

I've concluded that delivery slips can be generated only if invoice are enabled, since them are generated with data from the invoice db table.

I think that prestashop team is working to allow to print them without invoices in a future release.

Link to comment
Share on other sites

Hi,

I've concluded that delivery slips can be generated only if invoice are enabled, since them are generated with data from the invoice db table.

I think that prestashop team is working to allow to print them without invoices in a future release.

 

Any idea how to make the system populate it again. I enabled the invoices, but what about the time they were disabled. There needs to e a trigger to copy the information. 

Link to comment
Share on other sites

  • 3 weeks later...

Any idea how to make the system populate it again. I enabled the invoices, but what about the time they were disabled. There needs to e a trigger to copy the information. 

I would have an idea. Normally, in PrestaShop 1.5 and later, all invoices are stored in separate tables. It is not so easy to add missing records because more tables are affected.

 

On the other side, the M4 PDF Extensions module creates invoices from orders, on-the-fly, like in the pre-1.5 versions. So only orders are needed to have all invoices. There is a bonus - amounts and taxes are more accurate, especially when you are using vouchers and other discounts.

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...