Issue 11614

Title
resources copied twice on shipment and invoice
Priority
bug
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2022-07-29.10:53:47 by ced, last changed 2 months ago by roundup-bot.

Messages

New changeset a6472b079457 by Cédric Krier in branch '6.4':
Do not copy resource when creating invoice and shipment
https://hg.tryton.org/modules/sale/rev/a6472b079457

New changeset b556db5559b3 by Cédric Krier in branch '6.2':
Do not copy resource when creating invoice and shipment
https://hg.tryton.org/modules/sale/rev/b556db5559b3
New changeset 37967b4122d6 by Cédric Krier in branch 'default':
Do not copy resource when creating invoice and shipment
https://hg.tryton.org/tryton-env/rev/37967b4122d6
New changeset 1eea991d52aa by Cédric Krier in branch 'default':
Do not copy resource when creating invoice and shipment
https://hg.tryton.org/modules/sale/rev/1eea991d52aa
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-07-29.10:53:47

With rev bdbd8ba02e94, the goal was to save the invoices and shipments only once and then copy the resource. But the change left the call to copy_resources_to in the create_invoice and create_shipment methods. So they are copied twice and it requires an individual save (which was the goal of the change).

History
Date User Action Args
2022-08-05 01:02:02roundup-botsetkeyword: - backport
messages: + msg77580
2022-08-01 10:59:53roundup-botsetmessages: + msg77538
2022-08-01 10:59:48roundup-botsetmessages: + msg77537
nosy: + roundup-bot
status: testing -> resolved
2022-07-29 11:11:52reviewbotsetmessages: + msg77506
nosy: + reviewbot
2022-07-29 10:55:02cedsetkeyword: + backport, review
reviews: 413391003
status: in-progress -> testing
2022-07-29 10:53:47cedcreate

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