Skip to content

Commit

Permalink
Merge commit 'refs/pull/81950/head' of https://github.com/odoo/odoo i…
Browse files Browse the repository at this point in the history
…nto 15.0-4582
  • Loading branch information
docker-odoo committed Dec 7, 2023
2 parents a52426d + 350ae16 commit 932b30d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/product/models/product_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def _compute_currency_id(self):
def _compute_cost_currency_id(self):
self.cost_currency_id = self.env.company.currency_id.id

@api.depends_context('pricelist', 'partner', 'quantity', 'uom', 'date', 'no_variant_attributes_price_extra')
def _compute_template_price(self):
prices = self._compute_template_price_no_inverse()
for template in self:
Expand Down

0 comments on commit 932b30d

Please sign in to comment.