Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][FIX] product_variant_configurator #357

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading