Skip to content

Commit

Permalink
Merge PR #357 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed May 23, 2024
2 parents 6c37460 + c1b214d commit 1691b59
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions product_variant_configurator/models/product_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,12 @@ def _onchange_product_id_configurator(self):
.with_context(lang=self.partner_id.lang)
.browse(self.product_id.id)
)
self.name = self._get_product_description(
product.product_tmpl_id,
product,
product.product_template_attribute_value_ids,
)
if "name" in self._fields:
self.name = self._get_product_description(
product.product_tmpl_id,
product,
product.product_template_attribute_value_ids,
)
self.product_tmpl_id = product.product_tmpl_id.id
self._set_product_attributes()

Expand Down

0 comments on commit 1691b59

Please sign in to comment.