Tryton - Issues

 

Issue8699

Title Cost price increases when no quantity FIFO
Priority bug Status testing
Superseder Nosy List ced, reviewbot
Type behavior Components product_cost_fifo
Assigned To ced Keywords review
Reviews 252351002
View: 252351002

Created on 2019-10-01.18:38:07 by ced, last changed by reviewbot.

Messages
review252351002 updated at https://codereview.tryton.org/252351002/#ps270321004
review252351002 updated at https://codereview.tryton.org/252351002/#ps264331002
msg52226 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-10-01.18:38:06
If we can not find fifo_moves, we compute the average cost price using the price 0. This makes the average cost price to increase because we move out products. This is not right. For me in such case, the cost price should not change so we must use the current average cost price.
History
Date User Action Args
2019-10-11 11:47:30reviewbotsetmessages: + msg52416
2019-10-01 18:42:44reviewbotsetnosy: + reviewbot
messages: + msg52228
2019-10-01 18:39:28cedsetstatus: in-progress -> testing
reviews: 252351002
keyword: + review
2019-10-01 18:38:07cedcreate

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