main #7

Merged
admin merged 620 commits from main into dev 2026-03-29 13:03:25 +00:00
3 changed files with 5 additions and 0 deletions
Showing only changes of commit 22c4766e66 - Show all commits

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:

View File

@@ -5,4 +5,6 @@
<field name="date"/>
<label name="attributes"/>
<field name="attributes"/>
<label name="last_analysis_pricing"/>
<field name="last_analysis_pricing"/>
</form>

View File

@@ -2,4 +2,5 @@
<field name="reference"/>
<field name="date"/>
<field name="attributes_name"/>
<field name="last_analysis_pricing"/>
</tree>