OCA / account-financial-tools

Odoo Accountant Financial Tools and Utils
GNU Affero General Public License v3.0
305 stars 748 forks source link

[16.0]sequence number initialized on invoice in draft #1753

Open AurelienSoulierSpring opened 11 months ago

AurelienSoulierSpring commented 11 months ago

module: account_move_name_sequence version: 16.0

Steps to reproduce Create a new journal for customer invoices and set your own sequence Create an invoice on this journal, the name of the invoice is initialized with the V16 way not with the sequence defined Confirm the invoice, the invoice number is changed to take into consideration the correct sequence

Create an invoice on this journal, the name of the invoice is initialized with the V16 way not with the sequence defined and with a number '1'.

Current behavior The name of the invoice is initialized when the invoice is in draft.

Expected behavior No name of the invoice when in draft. Name of the invoice is set at confirmation.