20.03.26
This commit is contained in:
@@ -563,6 +563,8 @@ class QualityAnalysis(ModelSQL,ModelView):
|
|||||||
'on_change_with_attributes_name'
|
'on_change_with_attributes_name'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
last_analysis_pricing = fields.Boolean("Used for pricing")
|
||||||
|
|
||||||
@fields.depends('product')
|
@fields.depends('product')
|
||||||
def on_change_with_attribute_set(self, name=None):
|
def on_change_with_attribute_set(self, name=None):
|
||||||
if self.product and self.product.template and self.product.template.attribute_set:
|
if self.product and self.product.template and self.product.template.attribute_set:
|
||||||
|
|||||||
@@ -5,4 +5,6 @@
|
|||||||
<field name="date"/>
|
<field name="date"/>
|
||||||
<label name="attributes"/>
|
<label name="attributes"/>
|
||||||
<field name="attributes"/>
|
<field name="attributes"/>
|
||||||
|
<label name="last_analysis_pricing"/>
|
||||||
|
<field name="last_analysis_pricing"/>
|
||||||
</form>
|
</form>
|
||||||
@@ -2,4 +2,5 @@
|
|||||||
<field name="reference"/>
|
<field name="reference"/>
|
||||||
<field name="date"/>
|
<field name="date"/>
|
||||||
<field name="attributes_name"/>
|
<field name="attributes_name"/>
|
||||||
|
<field name="last_analysis_pricing"/>
|
||||||
</tree>
|
</tree>
|
||||||
Reference in New Issue
Block a user