felix7 Posted April 4, 2019 Share Posted April 4, 2019 (edited) 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 April 8, 2019 by felix7 (see edit history) Link to comment Share on other sites More sharing options...
Rodrigo B Laurindo Posted April 7, 2019 Share Posted April 7, 2019 (edited) Go to Orders > Invoices. You will be able to set the invoice number there. Edited April 7, 2019 by Rodrigo B Laurindo (see edit history) Link to comment Share on other sites More sharing options...
felix7 Posted April 8, 2019 Author Share Posted April 8, 2019 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 More sharing options...
ecommerce16 Posted April 8, 2019 Share Posted April 8, 2019 max numbers is 9, maybe thats the problem? Link to comment Share on other sites More sharing options...
felix7 Posted April 8, 2019 Author Share Posted April 8, 2019 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! 1 Link to comment Share on other sites More sharing options...
MrGubu Posted February 17, 2021 Share Posted February 17, 2021 I have reset the invoice orders creating an empty table copying from 'ps_order_invoice' and replacing the old one. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now