Skip to content

Commit

Permalink
[FIX] product_replenishment_cost: use round to calculated the value i…
Browse files Browse the repository at this point in the history
…n different currency.

closes #423

Signed-off-by: Juan José Scarafía <jjs@adhoc.com.ar>
  • Loading branch information
nicomacr committed Jan 27, 2022
1 parent 9bcf946 commit 81fa370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion product_replenishment_cost/models/product_template.py
Expand Up @@ -130,7 +130,7 @@ def _update_cost_from_replenishment_cost(self):
replenishment_cost = product.currency_id._convert(
replenishment_cost, product.cost_currency_id,
product.company_id or company, fields.Date.today(),
round=False)
round=True)
if float_compare(
product.standard_price,
replenishment_cost,
Expand Down

0 comments on commit 81fa370

Please sign in to comment.