Issue 10291

Title
Order reconcile line per maturity date
Priority
feature
Status
resolved
Nosy list
ced, edbo, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2021-04-15.13:41:18 by ced, last changed 2 months ago by roundup-bot.

Messages

New changeset 902c8da66afc by Cédric Krier in branch 'default':
Sort lines by maturity date to reconcile older first
https://hg.tryton.org/tryton-env/rev/902c8da66afc
New changeset 05a3dd4ca183 by Cédric Krier in branch 'default':
Sort lines by maturity date to reconcile older first
https://hg.tryton.org/modules/account/rev/05a3dd4ca183
Author: [hidden] (edbo)
Date: 2021-04-15.17:55:57

The proposed review does already such ordering on the maturity date.

Sorry, I clicked on the wrong review. But I tested the proposed ordering and it works perfectly.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-04-15.17:38:11

The proposed review does already such ordering on the maturity date.

Author: [hidden] (edbo)
Date: 2021-04-15.17:10:45

The reconciliation wizard search for all the possible lines for a party and then tries to get a close a possible match. When there is a close match, it will break out of the loop.

So I sorted the lines in the search with order=[('id', 'ASC')] , so the oldest ids are at the start of the list. This works nicely, but is it a good approach? or is sorting on create_date or write_date better?

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-04-15.13:41:18

It is better to try first to reconcile older lines.

History
Date User Action Args
2021-05-16 17:58:36roundup-botsetmessages: + msg67610
2021-05-16 17:58:25roundup-botsetmessages: + msg67609
nosy: + roundup-bot
status: testing -> resolved
2021-04-15 17:55:57edbosetmessages: + msg66636
2021-04-15 17:38:11cedsetmessages: + msg66635
2021-04-15 17:10:45edbosetmessages: + msg66634
2021-04-15 15:32:45cedsetmessages: - msg66629
2021-04-15 15:32:42cedsetmessages: - msg66628
2021-04-15 15:22:26edbosetmessages: + msg66629
2021-04-15 15:19:58cedsetreviews: 357811003, 349721003 -> 357811003
2021-04-15 15:11:41edbosetmessages: + msg66628
nosy: + edbo

Showing 10 items. Show all history (warning: this could be VERY long)