changes
This commit is contained in:
@@ -54,19 +54,56 @@
|
||||
<notebook>
|
||||
<page string="Inspection Lines" name="lines">
|
||||
<field name="line_ids" readonly="state in ('done','discrepancy_flagged')">
|
||||
<list editable="bottom"
|
||||
decoration-warning="condition == 'minor' or qty_variance != 0"
|
||||
<list decoration-warning="condition == 'minor' or qty_variance != 0"
|
||||
decoration-danger="condition in ('major','reject')">
|
||||
<field name="sequence" widget="handle"/>
|
||||
<field name="part_catalog_id"/>
|
||||
<field name="part_number" readonly="1"/>
|
||||
<field name="part_revision" readonly="1"/>
|
||||
<field name="qty_expected"/>
|
||||
<field name="qty_found"/>
|
||||
<field name="qty_variance" readonly="1"/>
|
||||
<field name="part_catalog_id"
|
||||
string="Part"/>
|
||||
<field name="part_number"
|
||||
string="Part #"
|
||||
readonly="1" optional="show"/>
|
||||
<field name="part_revision"
|
||||
string="Rev"
|
||||
readonly="1" optional="show"/>
|
||||
<field name="qty_expected"
|
||||
string="Expected"/>
|
||||
<field name="qty_found"
|
||||
string="Counted"/>
|
||||
<field name="qty_variance"
|
||||
string="Δ"
|
||||
readonly="1"/>
|
||||
<field name="condition"/>
|
||||
<field name="notes"/>
|
||||
<field name="photo_count"
|
||||
string="📷"
|
||||
optional="show"/>
|
||||
<field name="notes" optional="show"/>
|
||||
</list>
|
||||
<form string="Inspection Line">
|
||||
<sheet>
|
||||
<group>
|
||||
<group string="Part">
|
||||
<field name="part_catalog_id"/>
|
||||
<field name="part_number" readonly="1"/>
|
||||
<field name="part_revision" readonly="1"/>
|
||||
<field name="sequence"/>
|
||||
</group>
|
||||
<group string="Counts">
|
||||
<field name="qty_expected"/>
|
||||
<field name="qty_found"/>
|
||||
<field name="qty_variance" readonly="1"/>
|
||||
<field name="condition"/>
|
||||
</group>
|
||||
</group>
|
||||
<separator string="Photos"/>
|
||||
<field name="photo_ids"
|
||||
widget="many2many_binary"
|
||||
nolabel="1"
|
||||
help="Drag & drop or click to attach damage / condition photos for this box."/>
|
||||
<separator string="Notes"/>
|
||||
<field name="notes" nolabel="1"
|
||||
placeholder="Box number, serial range, what was found, who flagged it, what photos cover..."/>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</page>
|
||||
<page string="Notes" name="notes">
|
||||
|
||||
Reference in New Issue
Block a user