Tryton - Issues

 

Message58877

Author ced
Recipients
Date 2020-06-25.17:05:19
Content
Since rev f3fcb65989bf, we recompute the cost price on moves but when the quantity stored in zero, we set the "average" cost price to zero.
But this is not the same behavior as when move is done where we keep last cost price (from Move._compute_product_cost_price).
This was pointed in https://codereview.tryton.org/327491003/diff/315661002/modules/stock/move.py#newcode498
History
Date User Action Args
2020-06-25 17:05:20cedsetmessageid: <1593097520.09.0.815025485976.issue9443@tryton.org>
2020-06-25 17:05:20cedlinkissue9443 messages
2020-06-25 17:05:19cedcreate

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