main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
Showing only changes of commit a3f15c30e6 - Show all commits

View File

@@ -509,7 +509,7 @@ class Line(metaclass=PoolMeta):
@fields.depends('product')
def on_change_with_attribute_set(self, name=None):
if self.product and self.product.template:
if self.product and self.product.template and self.product.template.attribute_set:
return self.product.template.attribute_set.id
@fields.depends('product', 'attributes')