Tryton - Issues

 

Message45259

Author MR
Recipients
Date 2018-12-11.13:29:58
Content
Tryton 5.0. If I select UOM less than default ( for example, the product with default UOM in meters I sale in centimeters) for sale or production input, after few sale or production cycles I get negative product cost price in product cost history.
I don't know the coding, but in my opinion the problem is the value move.unit_price attached in product_cost_fifo/move.py function _update_fifo_out_product_cost_price in default UOM and after recalculated in stock/move.py  Move class method _compute_product_cost_price from move UOM to default UOM, it's mean the unit_price is 100 times bigger in my centimeters-meters case
History
Date User Action Args
2018-12-11 13:29:59MRsetmessageid: <1544531399.13.0.0434682927132.issue7918@tryton.org>
2018-12-11 13:29:59MRlinkissue7918 messages
2018-12-11 13:29:58MRcreate

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