Issue 11295

Title
Update cost price of customer moves when supplier unit price is changed of drop shipment
Priority
feature
Status
resolved
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2022-03-02.18:51:42 by ced, last changed 3 months ago by roundup-bot.

Messages

New changeset 7eee1485ba07 by Cédric Krier in branch 'default':
Recompute cost price of drop shipment
https://hg.tryton.org/tryton-env/rev/7eee1485ba07
New changeset b28d22ff345e by Cédric Krier in branch 'default':
Recompute cost price of drop shipment
https://hg.tryton.org/modules/sale_supply_drop_shipment/rev/b28d22ff345e
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-03-02.18:51:42

The cost price of customer move of drop shipment is synchronized with the unit price of the supplier move of the same drop shipment.
But since issue9962 the unit price of the supplier move can be updated later so we must recompute the cost price of the customer moves.
I propose to do that in the recompute_cost_price like that we can use the unit_price_updated field as trigger.

History
Date User Action Args
2022-03-26 12:15:45roundup-botsetmessages: + msg74783
2022-03-26 12:15:37roundup-botsetmessages: + msg74781
nosy: + roundup-bot
status: testing -> resolved
2022-03-02 19:10:08reviewbotsetmessages: + msg74395
nosy: + reviewbot
2022-03-02 18:53:58cedsetkeyword: + review
reviews: 364951003
status: in-progress -> testing
2022-03-02 18:51:42cedcreate

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