Skip to content

Commit

Permalink
[FIX] replenishment_cost: standard_price
Browse files Browse the repository at this point in the history
closes #569

Signed-off-by: Juan José Scarafía <jjs@adhoc.com.ar>
  • Loading branch information
mav-adhoc committed Jan 10, 2024
1 parent a719c79 commit e375c66
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 @@ -196,7 +196,7 @@ def _compute_replenishment_cost_last_update(self):
'replenishment_cost_rule_id.item_ids.percentage_amount',
'replenishment_cost_rule_id.item_ids.fixed_amount',
)
@api.depends_context('force_company')
@api.depends_context('company')
def _compute_replenishment_cost(self):
_logger.info('Getting replenishment cost for %s products' % len(self.ids))
company = self.env.company
Expand Down

0 comments on commit e375c66

Please sign in to comment.