[MIG] quality_control: Migration to 11.0

This commit is contained in:
Juan Humanes
2018-08-23 10:12:35 +02:00
committed by Enrique Martín
parent 1a55aa36f0
commit 404a1bee2d
19 changed files with 95 additions and 115 deletions

View File

@@ -63,7 +63,7 @@
<field name="user" />
<field name="object_id" />
<field name="qty" />
<field name="product" />
<field name="product_id" />
</group>
<group>
<field name="date" />
@@ -122,7 +122,7 @@
<field name="user" />
<field name="test" />
<field name="qty" />
<field name="product" />
<field name="product_id" />
<field name="success" />
<field name="state" />
</tree>
@@ -138,7 +138,7 @@
<field name="name" />
<field name="user" />
<field name="object_id" />
<field name="product" />
<field name="product_id" />
<field name="test" />
</group>
<newline />
@@ -159,7 +159,7 @@
context="{'group_by': 'user'}" />
<filter string="Product"
domain="[]"
context="{'group_by': 'product'}" />
context="{'group_by': 'product_id'}" />
<filter string="State"
domain="[]"
context="{'group_by': 'state'}" />
@@ -192,7 +192,7 @@
<field name="arch" type="xml">
<tree string="Inspection lines" delete="false" create="false" colors="red: success==False">
<field name="inspection_id" />
<field name="product" />
<field name="product_id" />
<field name="name" />
<field name="question_type" />
<field name="possible_ql_values" invisible="1" />
@@ -218,7 +218,7 @@
<group>
<field name="name" />
<field name="inspection_id" />
<field name="product" />
<field name="product_id" />
<field name="success" />
</group>
<newline />
@@ -233,7 +233,7 @@
context="{'group_by': 'inspection_id'}" />
<filter string="Product"
domain="[]"
context="{'group_by': 'product'}" />
context="{'group_by': 'product_id'}" />
<filter string="Question"
domain="[]"
context="{'group_by': 'name'}" />

View File

@@ -101,7 +101,7 @@
<field name="min_value"
class="oe_inline"
nolabel="1"
attrs="{'required': [('type',' =', 'quantitative')]}" />
attrs="{'required': [('type','=', 'quantitative')]}" />
<span> - </span>
<field name="max_value"
class="oe_inline"