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-1458
  • Loading branch information
docker-odoo committed Feb 14, 2023
2 parents 0c8bc01 + 378181c commit fc87e33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/product/models/product_template.py
Expand Up @@ -188,6 +188,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 fc87e33

Please sign in to comment.