← Back to team overview

openerp-expert-accounting team mailing list archive

[Bug 519133] Re: [5.0] The Centralisation check is required at write() as well.

 

I made a mistake on my #6 comment

I was talking about "move lines" instead of "moves"

Correction :
When removing the patch, I can create several moves LINES in the centralized journal. The problem is that when I try to modify an existing move LINE in the journal, all the moves LINES take the date of the modified move LINE (ie. the bug)

-- 
[5.0] The Centralisation check is required at write() as well.
https://bugs.launchpad.net/bugs/519133
You received this bug notification because you are a member of OpenERP's
Accounting Experts, which is a direct subscriber.

Status in OpenObject Addons Modules: In Progress

Bug description:
Hello

When modifying an entry line in a centralized journal (journal.centralisation=true), all the entry line dates get modified and take the modified entry line value.

The entry line dates should not be changed

I guess the solution is in the write function in account_move_line.py where we should find some 'if journal.centralisation:...' as it is in the create function.

Regards