This commit is contained in:
2026-03-20 14:36:43 +01:00
parent 73eeee0f72
commit 22c4766e66
3 changed files with 5 additions and 0 deletions

View File

@@ -563,6 +563,8 @@ class QualityAnalysis(ModelSQL,ModelView):
'on_change_with_attributes_name'
)
last_analysis_pricing = fields.Boolean("Used for pricing")
@fields.depends('product')
def on_change_with_attribute_set(self, name=None):
if self.product and self.product.template and self.product.template.attribute_set: