Issue 10801

Title
Split process method and group creation
Priority
feature
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2021-09-27.19:39:38 by ced, last changed 13 months ago by roundup-bot.

Messages

New changeset 9af25a2b5542 by Cédric Krier in branch 'default':
Do not delete unsaved invoice and lines
https://hg.tryton.org/tryton-env/rev/9af25a2b5542
New changeset 001241f6b161 by Cédric Krier in branch 'default':
Do not delete unsaved invoice and lines
https://hg.tryton.org/modules/purchase_invoice_line_standalone/rev/001241f6b161
New changeset 3938612a9b45 by Cédric Krier in branch 'default':
Do not delete unsaved invoice and lines
https://hg.tryton.org/modules/purchase/rev/3938612a9b45
New changeset 53bf6afc3cf4 by Cédric Krier in branch 'default':
Split process method to avoid create/write in loop
https://hg.tryton.org/tryton-env/rev/53bf6afc3cf4
New changeset e9f3ab658e28 by Cédric Krier in branch 'default':
Split process method to avoid create/write in loop
https://hg.tryton.org/modules/sale_supply_production/rev/e9f3ab658e28
New changeset cbf861fec31e by Cédric Krier in branch 'default':
Split process method to avoid create/write in loop
https://hg.tryton.org/modules/sale_supply_drop_shipment/rev/cbf861fec31e
New changeset 92eff0a2b078 by Cédric Krier in branch 'default':
Split process method to avoid create/write in loop
https://hg.tryton.org/modules/sale_supply/rev/92eff0a2b078
New changeset d35fb4d82cc8 by Cédric Krier in branch 'default':
Split process method to avoid create/write in loop
https://hg.tryton.org/modules/sale_shipment_cost/rev/d35fb4d82cc8
New changeset bdbd8ba02e94 by Cédric Krier in branch 'default':
Split process method to avoid create/write in loop
https://hg.tryton.org/modules/sale/rev/bdbd8ba02e94
New changeset 4893e9ec0c9e by Cédric Krier in branch 'default':
Split process method to avoid create/write in loop
https://hg.tryton.org/modules/purchase/rev/4893e9ec0c9e
New changeset 3653cd3f0f44 by Cédric Krier in branch 'default':
Split process method to avoid create/write in loop
https://hg.tryton.org/modules/product_kit/rev/3653cd3f0f44
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-09-27.19:42:41

Here is review372071002.
It could not improve the save in create_invoice in sale_shipment_cost but this will be automatically improved by issue10799.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-09-27.19:39:38

The process method of Sale and Purchase are saving records once per sale or purchase. This is not very efficient (see issue3516).
Indeed by doing multiple loops we can save the invoices, the shipments and moves at once.
Also we could set the invoice and shipment state at once per state value.

History
Date User Action Args
2021-10-22 00:38:47roundup-botsetmessages: + msg71202
2021-10-22 00:38:40roundup-botsetmessages: + msg71200
2021-10-22 00:38:35roundup-botsetmessages: + msg71198
2021-10-08 19:22:16roundup-botsetmessages: + msg70801
2021-10-08 19:22:10roundup-botsetmessages: + msg70800
2021-10-08 19:22:02roundup-botsetmessages: + msg70799
2021-10-08 19:21:59roundup-botsetmessages: + msg70798
2021-10-08 19:21:50roundup-botsetmessages: + msg70797
2021-10-08 19:21:45roundup-botsetmessages: + msg70796
2021-10-08 19:21:36roundup-botsetmessages: + msg70795
2021-10-08 19:21:27roundup-botsetmessages: + msg70794
nosy: + roundup-bot
status: testing -> resolved
2021-09-27 20:02:56reviewbotsetmessages: + msg70453
nosy: + reviewbot
2021-09-27 19:42:41cedsetkeyword: + review
messages: + msg70450
reviews: 372071002
status: in-progress -> testing
2021-09-27 19:41:03cedlinkissue3516 superseder
2021-09-27 19:39:38cedcreate