Skip to content

Commit

Permalink
commodity_trading: quality_control
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrs-odoo committed Feb 21, 2024
1 parent 4531d05 commit 5a105ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commodity_trading/data/ir_ui_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@
<field name="arch" type="xml">
<form create="false" js_class="worksheet_validation">
<sheet>
<h1 invisible="context.get('studio') or context.get('default_x_quality_check_id')">
<h1 invisible="context.get('default_x_quality_check_id')">
<field name="x_quality_check_id" domain="[('test_type', '=', 'worksheet')]"/>
</h1>
<group>
Expand Down
2 changes: 1 addition & 1 deletion commodity_trading/data/quality_point.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<field name="picking_type_ids" eval="[(6, 0, [ref('stock.picking_type_in')])]"/>
<field name="worksheet_model_name">x_quality_check_worksheet_template_2</field>
<field name="test_type_id" ref="quality_control_worksheet.test_type_worksheet"/>
<field name="worksheet_success_conditions"><![CDATA[["&amp;", "&amp;", "&amp;", "&amp;", ("x_admixture", "&lt;=", 0.5), ("x_moisture", "&gt;=", 8), ("x_moisture", "&lt;=", 8.5), ("x_split_broken", "&lt;=", 0.5), ("x_damage", "&lt;=", 0.5)]]]></field>
<field name="worksheet_success_conditions"><![CDATA[["&", "&", "&", "&", ("x_admixture", "<=", 0.5), ("x_moisture", ">=", 8), ("x_moisture", "<=", 8.5), ("x_split_broken", "<=", 0.5), ("x_damage", "<=", 0.5)]]]></field>
</record>
</odoo>

0 comments on commit 5a105ec

Please sign in to comment.