Issue 10586

Title
Cost price not updated/recomputed nor stock accounting for move between warehouses
Priority
bug
Status
resolved
Superseder
Unable to create an internal shipment using cost price per warehouse (issue 10526)
Nosy list
ced, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2021-07-19.23:20:37 by ced, last changed 1 month ago by roundup-bot.

Messages

New changeset 9e200ca3141d by Cédric Krier in branch '6.0':
Use domain method to select incoming and outgoing move to recompute cost price
https://hg.tryton.org/modules/stock/rev/9e200ca3141d

New changeset 05720e6cefd4 by Cédric Krier in branch '6.0':
Use unit_price_company
https://hg.tryton.org/modules/stock/rev/05720e6cefd4
New changeset 9f910e1d0acc by Cédric Krier in branch '6.0':
Update and recompute cost price for move between warehouses
https://hg.tryton.org/modules/product_cost_warehouse/rev/9f910e1d0acc
New changeset 598fcbd38fa4 by Cédric Krier in branch '6.0':
Use domain method to select incoming and outgoing move to recompute cost price
https://hg.tryton.org/modules/product_cost_fifo/rev/598fcbd38fa4
New changeset a840440bd231 by Cédric Krier in branch '6.0':
Use unit_price_company
https://hg.tryton.org/modules/account_stock_continental/rev/a840440bd231
New changeset e40880db3a57 by Cédric Krier in branch 'default':
Update and recompute cost price for move between warehouses
https://hg.tryton.org/tryton-env/rev/e40880db3a57
New changeset 61b18217c99b by Cédric Krier in branch 'default':
Use domain method to select incoming and outgoing move to recompute cost price
https://hg.tryton.org/modules/stock/rev/61b18217c99b

New changeset 226c6ea53254 by Cédric Krier in branch 'default':
Use unit_price_company
https://hg.tryton.org/modules/stock/rev/226c6ea53254
New changeset c23f2df38d52 by Cédric Krier in branch 'default':
Update and recompute cost price for move between warehouses
https://hg.tryton.org/modules/product_cost_warehouse/rev/c23f2df38d52
New changeset 896d141b6b7d by Cédric Krier in branch 'default':
Use domain method to select incoming and outgoing move to recompute cost price
https://hg.tryton.org/modules/product_cost_fifo/rev/896d141b6b7d
New changeset c7da1bc65008 by Cédric Krier in branch 'default':
Use unit_price_company
https://hg.tryton.org/modules/account_stock_continental/rev/c7da1bc65008
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-07-19.23:20:37

When an internal shipment moves products between warehouses the product cost price must be updated. And when the recompute wizard is launch it must use also those moves to recompute the cost price.
In order to include those moves in the recomputation, the domain used for searching must be extendable as methods.
When account_stock_continental is activated such shipment must create accounting move like if the product was leaving the company and come back at the same cost price (in case the accounts are different).
At last the transit location must not be linked to any cost warehouse in order to have a single account move per move.

History
Date User Action Args
2021-08-07 10:40:26roundup-botsetmessages: + msg69236
2021-08-07 10:40:19roundup-botsetmessages: + msg69235
2021-08-07 10:40:16roundup-botsetmessages: + msg69234
2021-08-07 10:40:14roundup-botsetkeyword: - backport
messages: + msg69233
2021-07-28 00:39:00roundup-botsetmessages: + msg69065
2021-07-28 00:38:52roundup-botsetmessages: + msg69064
2021-07-28 00:38:46roundup-botsetmessages: + msg69063
2021-07-28 00:38:44roundup-botsetmessages: + msg69062
2021-07-28 00:38:40roundup-botsetmessages: + msg69061
nosy: + roundup-bot
status: testing -> resolved
2021-07-21 11:18:25reviewbotsetmessages: + msg68964

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