Leguman Posted July 5, 2011 Share Posted July 5, 2011 After modifying the AdminOrders.php by adding "$this->delete = true;" to remove test orders I made to configure Paypal.Now in the Back-Office under ORDERS-INVOICE, if I want to change the "invoice number" I got this message "Invalid invoice number (must be above 2147483647)" (translated from french)What can I do ?Thanks for any help Link to comment Share on other sites More sharing options...
Kerel Posted August 20, 2014 Share Posted August 20, 2014 I've got exactly same problem, starting number is always 2147483647 even if I change it in the database... Even when I try to generate invoices I get only this number, it isn't increasing. I haven't changed anything... This is horrible BUG! Link to comment Share on other sites More sharing options...
shaun_imakr Posted October 16, 2014 Share Posted October 16, 2014 Same here. I don't know when it started but all my invoices have the same number. Any solution? Link to comment Share on other sites More sharing options...
Kerel Posted October 16, 2014 Share Posted October 16, 2014 The only fix I came up with is to change number of invoice in database to number-1 that you want, because the SQL counts the biggest number as a last invoice. Ugly fix, but prestashop is also ugly 1 Link to comment Share on other sites More sharing options...
shaun_imakr Posted October 16, 2014 Share Posted October 16, 2014 Thanks. I also fixed it directly in the database. Tables ps_orders (column: invoice_number) and ps_order_invoice (column: number) 1 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