Totti Posted February 17, 2014 Share Posted February 17, 2014 Hello,I need to reset the numbering of invoices every year, how can I do ? Link to comment Share on other sites More sharing options...
Dh42 Posted February 17, 2014 Share Posted February 17, 2014 The easiest way to do it is to delete all of the orders from the database yearly. Link to comment Share on other sites More sharing options...
Totti Posted February 17, 2014 Author Share Posted February 17, 2014 But by doing this I lose all historical invoices. Link to comment Share on other sites More sharing options...
Dh42 Posted February 17, 2014 Share Posted February 17, 2014 Correct, that is the only way to do what you are wanting without major changes to Prestashop. Prestashop uses the invoice number as a key in the database for transactions. Link to comment Share on other sites More sharing options...
Totti Posted February 18, 2014 Author Share Posted February 18, 2014 http://www.prestashop.com/forums/topic/148676-reset-contatore-fatture-anno-nuovo/page-4?hl=%2Breset+%2Bfatture&do=findComment&comment=1553639 I tried this but it does not work. Link to comment Share on other sites More sharing options...
Recommended Posts