[FIX] template_line view fixed
This commit is contained in:
parent
5bebeab086
commit
a7fd885c96
|
@ -261,18 +261,26 @@
|
||||||
<field name="type" />
|
<field name="type" />
|
||||||
<field name="sequence" />
|
<field name="sequence" />
|
||||||
</group>
|
</group>
|
||||||
<group col="1" colspan="4">
|
|
||||||
<group col="2" colspan="4" attrs="{'invisible':[('type','!=','qualitative')]}" >
|
<notebook colspan="4">
|
||||||
<field name="valid_value_ids" colspan="4" attrs="{'required':[('type','=','qualitative')]}" context="{'proof_id':proof_id}"/>
|
<page string="Values">
|
||||||
</group>
|
<group col="2" colspan="4" attrs="{'invisible':[('type','!=','qualitative')]}" >
|
||||||
<group col="6" colspan="4" attrs="{'invisible':[('type','=','qualitative')]}">
|
<separator string="Values" colspan="4"/>
|
||||||
<field name="min_value" attrs="{'required':[('type','!=','qualitative')]}"/>
|
</group>
|
||||||
<field name="max_value" attrs="{'required':[('type','!=','qualitative')]}"/>
|
|
||||||
<field name="uom_id" attrs="{'required':[('type','!=','qualitative')]}"/>
|
|
||||||
</group>
|
<field name="valid_value_ids" colspan="4" attrs="{'invisible':[('type','!=','qualitative')],'required':[('type','=','qualitative')]}" context="{'proof_id':proof_id}" nolabel="1"/>
|
||||||
</group>
|
|
||||||
<separator string="Notes" colspan="4" />
|
<group col="6" colspan="4" attrs="{'invisible':[('type','=','qualitative')]}">
|
||||||
<field name="notes" colspan="4" nolabel="1"/>
|
<field name="min_value" attrs="{'required':[('type','!=','qualitative')]}"/>
|
||||||
|
<field name="max_value" attrs="{'required':[('type','!=','qualitative')]}"/>
|
||||||
|
<field name="uom_id" attrs="{'required':[('type','!=','qualitative')]}"/>
|
||||||
|
</group>
|
||||||
|
</page>
|
||||||
|
<page string="Notes">
|
||||||
|
<field name="notes" colspan="4" nolabel="1"/>
|
||||||
|
</page>
|
||||||
|
</notebook>
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
Loading…
Reference in New Issue