This commit is contained in:
alfredoavanzosc
2014-10-09 16:56:42 +02:00
committed by Pedro M. Baeza
parent 3b1947ad9c
commit 4c45b090df
8 changed files with 1138 additions and 2614 deletions

View File

@@ -45,10 +45,11 @@
<field name="model">qc.posible.value</field>
<field name="arch" type="xml">
<form string="Proof Posible Value">
<group>
<field name="name" />
<field name="active" />
</group>
<group colspan="4" col="10">
<field name="name" colspan="6"/>
<field name="active" colspan="2" />
<field name="ok" colspan="2" />
</group>
</form>
</field>
</record>
@@ -58,6 +59,7 @@
<field name="arch" type="xml">
<tree string="Posible Value">
<field name="name" />
<field name="ok" />
</tree>
</field>
</record>
@@ -355,6 +357,8 @@
<field name="arch" type="xml">
<form string="Test">
<header>
<button name="draft" states="canceled"
string="Draft" icon="gtk-ok" />
<button name="confirm" states="draft"
string="Confirm" icon="gtk-ok" />
<button name="approve" states="waiting"
@@ -382,9 +386,7 @@
readonly="True" select="1" />
</group>
<notebook>
<page string="Values">
<separator string="Values"
colspan="4" />
<page string="questions">
<field name="test_line_ids"
nolabel="1" colspan="4" />
</page>
@@ -488,10 +490,12 @@
<field name="method_id" />
<field name="proof_type" />
<field name="actual_value_ql"
attrs="{'readonly':[('proof_type','=','quantitative')]}" />
attrs="{'readonly':[('proof_type','=','quantitative')]}"
on_change="onchange_actual_value_ql(actual_value_ql, valid_value_ids)" />
<field name="valid_value_ids" readonly="1" />
<field name="actual_value_qt"
attrs="{'readonly':[('proof_type','=','qualitative')]}" />
attrs="{'readonly':[('proof_type','=','qualitative')]}"
on_change="onchange_actual_value_qt(uom_id, test_uom_id, actual_value_qt, min_value, max_value)" />
<field name="test_uom_id" />
<field name="min_value" />
<field name="max_value" />