This commit is contained in:
2026-03-05 19:49:16 +01:00
parent 843ade6f3d
commit cdb0bf7254
2 changed files with 2 additions and 14 deletions

View File

@@ -507,18 +507,6 @@ class Line(metaclass=PoolMeta):
'on_change_with_attributes_name'
)
att_desc = fields.Function(fields.Char("Attributes"),'get_attributes')
def get_attributes(self, name):
if not self.attributes:
return ''
parts = []
for attr_id, value in self.attributes.items():
parts.append(f"{attr_id}: {value}")
return ', '.join(parts)
@fields.depends('product')
def on_change_with_attribute_set(self, name=None):
if self.product and self.product.template: