account: when you set "Skip 'Draft' State for Manual Entries" on sale journal, invoices allow gap in numbering

Bug #1012723 reported by Lorenzo Battistini
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

openobject-addons/6.1 revno 6840

steps:

1 - Install account_cancel
2 - Set "Skip 'Draft' State for Manual Entries" on sales journal
3 - Create a new invoice and validate it (invoice number 'SAJ/2012/0001')
4 - Cancel the invoice and validate it again

Get 'SAJ/2012/0002' as invoice number

Tags: maintenance

Related branches

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Changed in openobject-addons:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Alexis de Lattre (alexis-via) wrote :

The full explaination of the problem in the code of OpenERP's addons is on this (duplicate) bug report :

https://bugs.launchpad.net/openobject-addons/+bug/1028077

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Somesh Khare (somesh.khare) wrote :

Hello Alexis and Lorenzo,

This issue has been fixed in lp:~openerp-dev/openobject-addons/6.1-opw-577189-skh with,

Revision ID: <email address hidden>
Rev-no: 6926

This branch is under the review of our experts and will be merge soon into the stable 6.1 addons.

Thanks & Regards,
Somesh Khare

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Numérigraphe (numerigraphe) wrote :

So, was this ever fixed in the 6.1 and 7.0 branches ?
Lionel Sausin.

Revision history for this message
Numérigraphe (numerigraphe) wrote :

Old dinosaur me pushed a backport of the proposed fix for v6.0, in case anyone still cares.
Lionel Sausin.

Revision history for this message
Numérigraphe (numerigraphe) wrote :

I asked the paid support team and got the following answer:

"
This issue has already been merged into the stable 7.0 addons with,

Revision ID: <email address hidden>
Revision Number: 8001.

As stable 6.1 is not a LTS version so we are not going to merge it into addons 6.1. But if you really want this branch to get merge into stable 6.1 please give us a good reason, we will discuss and merge it into stable 6.1.
"

Changed in openobject-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.