0

PrestaShop version: 1.6.1 Hosting: ionos PHP version: 5.6 MySQL version: MySQL 5.7

Hi,

I recently saved new settings in orders > invoices tab but did left the invoice number at 0 in order for it to continue being auto incremented. My problem is that since then no invoices are being generated and when I go to my db - in the ps_order_invoice table - I see that all new order invoice has the number 0. When I manually change the invoice number in the db, an invoice is being generated but it's not really a long term solution.

(I did ask on the prestashop forum but it's like a ghost town there, nobody answered).

I tried changing the invoice_start_number in the ps_configuration table to set it at the next number the invoice should be but it didn't change anything. All new invoices are still numbered 0. I also tried deleting the invoice_start_number line so that it would be recreated when I set it from the BO (and somehow solve everything) but didn't change anything either. And I can't set the column "number" as auto increment since there is already the id_order_invoice being auto incremented.

Does anyone have an idea on how to solve this ? Cause I really don't know what files are in charge of this nor what I should change in them.

Marion
  • 1
  • 1

0 Answers0