[6.0] Important regression in bank statements numbering

Bug #997148 reported by Stéphane Bidoul (Acsone)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP Publisher's Warranty Team

Bug Description

Hello,

A very disturbing regression has been introduced in 6.0 regarding the numbering of bank statements.

I traced the problem to commit
5120 revid:<email address hidden>
which merges
5055.1.1 revid:<email address hidden>

To reproduce the problem, you need to create a bank statement and populate it from open invoices and manually created statement lines.

Before that commit, the (correct) behaviour was as follow:
- the bank statement received a new number from the associated bank journal sequence (say BNK/2012/N)
- each line in the bank statement generated a move with a number constructed as BNK/2012/N/1, BNK/2012/N/2, ...

After that commit:
- the bank statement received a new number from the associated bank journal sequence (say BNK/2012/N)
- some lines increase generate moves and number them by increasing the journal sequence
- this is behaviour is wrong and result in gaps in bank statments numbering, not mentioning non-contiguous numbering of moves on the bank journal!

Reversing that commit fixes it. However that commit was meant to fix bug lp:931748, so a better fix has to be created.

Best regards,

-sbi

Revision history for this message
Ravish(OpenERP) (rmu-openerp) wrote :

Hello Stephan,

Yes, you are absolutely right . I have faced the the same problem on 6.0 due to revision no 5105.
If I am revert up to 5105 all are working as expected .it's clear cut regression on stable 6 that why ,I am assigning it to OPW.

Thank for reporting..!!!

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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