account invoice out sequence

Asked by Romain Deheele - Camptocamp on 2010-04-16

Hello,

I don't know if we can identify this as a bug.

In Menu > Configuration > Sequences, we can configure the numbering system of the different documents.
Example of sequence : Account Invoice Out
For example, if the field "next number" is set to "5" (2010/005) then I modify it to set this field to "1". (2010/001)
If I create new invoices, it creates them from "1"(2010/001) even if an invoice with the number "1" (2010/001) already exists.
Thus the system allows to create doubloons, it could be annoying. The system should maybe notice the invoice numbers already existing.

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
2010-04-16
Last reply:
2010-04-19

Hello,

You can put sql_constraint or tiny constraint for invoice number field.

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Romain Deheele - Camptocamp for more information if necessary.

To post a message you must log in.