Message 71777

Author
acaubet
Date
2021-11-22.14:22:15
Message id
71777

Content

Not since you asked for two reasons: * I expect a unit_price to be in the unit of default_uom. * Other use cases in my understanding should be covered with tests.

I'm not an accounting expert but I don't see any potential error as use cases are small.
1. I only see unit_price_company called in account_stock_continental, so for me no other modules use this.
2. Is defined on stock module.
* Nothing calls me the attention there.
3. It's overwritten on product_cost_warehouse module.
* As my understanding, this only sets the cost for each warehouse.
* Not sure if cost_price is also needing a compute_price? cost += qty * outgoing_move.cost_price

Did I miss anything?

History
Date User Action Args
2021-11-22 14:22:15acaubetsetmessageid: <1637587335.4775188.C6EXFNYL3J4GTO4K.issue10972@tryton.org>
2021-11-22 14:22:15acaubetsetrecipients: + ced, reviewbot
2021-11-22 14:22:15acaubetlinkissue10972 messages
2021-11-22 14:22:15acaubetcreate

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