changes
This commit is contained in:
@@ -102,6 +102,25 @@
|
||||
decoration-muted="x_fc_wo_kind in ('mask', 'rack', 'inspect', 'other')"/>
|
||||
<field name="x_fc_requires_bath" invisible="1"/>
|
||||
<field name="x_fc_requires_oven" invisible="1"/>
|
||||
<field name="x_fc_recipe_node_id" invisible="1"/>
|
||||
<field name="x_fc_requires_signoff" invisible="1"/>
|
||||
<field name="x_fc_is_manual" invisible="1"/>
|
||||
<field name="x_fc_auto_complete" invisible="1"/>
|
||||
<field name="x_fc_signoff_user_id" readonly="1"
|
||||
invisible="not x_fc_requires_signoff"/>
|
||||
<field name="x_fc_signoff_date" readonly="1"
|
||||
invisible="not x_fc_requires_signoff"/>
|
||||
</xpath>
|
||||
|
||||
<!-- ============================================================
|
||||
SIGN OFF BUTTON — only visible when the recipe step
|
||||
requires a sign-off and the WO is in progress.
|
||||
============================================================ -->
|
||||
<xpath expr="//header" position="inside">
|
||||
<button name="action_signoff" type="object"
|
||||
string="Sign Off" class="oe_highlight"
|
||||
icon="fa-check-square-o"
|
||||
invisible="not x_fc_requires_signoff or x_fc_signoff_user_id or state in ('done', 'cancel')"/>
|
||||
</xpath>
|
||||
|
||||
<!-- ============================================================
|
||||
|
||||
Reference in New Issue
Block a user