MoncefB
MoncefB

Reputation: 145

How to replace invoice number sequence in Odoo 8 by the invoice id

I am trying to replace the invoice number sequence by the invoice id from the database but I don't have this option in from ODOO interface so I am sure I need to create a module for that or something but I have no idea how to solve this , any suggestions please ?

Upvotes: 0

Views: 388

Answers (1)

Travis Waelbroeck
Travis Waelbroeck

Reputation: 2135

You can modify the sequences from the user interface, but it is hidden, so you must Activate Developer Mode.

  1. Go to Settings > Technical > Sequences & Identifiers > Sequences
  2. Find the Customer Invoices Sequence

However, I don't believe that you will have the option to use the ID as the sequence. This may be somewhat intentional as it's not typically a great idea to expose database IDs directly. So in your case, it may be necessary to write a module to change this behavior if you really need it for some reason.

Upvotes: 0

Related Questions