diff --git a/addons/product/models/product_template.py b/addons/product/models/product_template.py index 2b2508cce9d..911481a003b 100644 --- a/addons/product/models/product_template.py +++ b/addons/product/models/product_template.py @@ -151,7 +151,7 @@ class ProductTemplate(models.Model): except ValueError: main_company = self.env['res.company'].sudo().search([], limit=1, order="id") for template in self: - template.currency_id = template.company_id.currency_id.id or main_company.currency_id.id + template.currency_id = template.company_id.sudo().currency_id.id or main_company.currency_id.id @api.multi def _compute_template_price(self):