Jump to content

[SOLVED] Reset invoice number


felix7

Recommended Posts

Hello,

I have tried to change the number from backend, in 'Invoices' page, but I got an error 'Invoice number not valid'. So I look up for other way, so I found out that I could change it from my database, in 'ps_configuration' table, but I don't have a row callled 'ps_invoice_number'. Any idea?

Thanks in advance!

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

En 7/4/2019 a las 2:18 AM, Rodrigo B Laurindo dijo:

Go to Orders > Invoices. You will be able to set the invoice number there.

"I have tried to change the number from backend, in 'Invoices' page, but I got an error 'Invoice number not valid'." I wrote this in my first post. Thanks anyway.

Link to comment
Share on other sites

hace 8 minutos, Curious dijo:

max numbers is 9, maybe thats the problem?

No, I just wanted to reset at 1. But I found a solution right now! I don't know why I'm getting that error, but I have been able to change the number from database. In 'ps_order_invoice', it looks like prestashop take last invoice number and plus one, so I have change that field and it's solved!

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...