Skip to content

Commit

Permalink
[FIX] product_replenishment_cost: code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
vib-adhoc committed Mar 30, 2023
1 parent e2fac66 commit 1427ec6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions product_replenishment_cost/models/product_template.py
Expand Up @@ -178,6 +178,7 @@ def _compute_replenishment_cost(self):
product_currency = rec.currency_id
rec.replenishment_base_cost_on_currency = 0.0
rec.replenishment_cost = 0.0
base_cost_currency = False
if rec.replenishment_cost_type in ['supplier_price', 'last_supplier_price']:
replenishment_base_cost = rec.supplier_price
base_cost_currency = rec.supplier_currency_id
Expand Down

0 comments on commit 1427ec6

Please sign in to comment.