Tryton - Issues

 

Issue7132

Title Improve reconciliation performance
Priority feature Status testing
Superseder Nosy List ced, reviewbot
Type performance Components account, account_statement
Assigned To ced Keywords review
Reviews 41051002,41061002
View: 41051002, 41061002

Created on 2018-02-13.12:40:55 by ced, last changed by reviewbot.

Messages
review41061002 updated at https://codereview.tryton.org/41061002/#ps1
review41051002 updated at https://codereview.tryton.org/41051002/#ps1
msg38333 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-02-13.12:40:54
The creation of reconciliation trigger the processing of the invoices so for performance reason it is important to create reconciliation records grouped.
But the Line.reconcile method, which is the standard way to create reconciliation, create one reconciliation at a time.
So I propose to improve the API in the best backward compatible way to allow to reconcile a list of lines and thus create all the reconciliation at once.
The account statement could benefit from this design to reconcile all the lines linked to an invoice at once.
History
Date User Action Args
2018-02-13 13:15:25reviewbotsetmessages: + msg38337
2018-02-13 13:15:18reviewbotsetnosy: + reviewbot
messages: + msg38336
2018-02-13 12:53:08cedsetstatus: in-progress -> testing
reviews: 41051002,41061002
keyword: + review
2018-02-13 12:40:55cedcreate

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