Skip to content

Commit

Permalink
[IMP] quality_control: show action_cancel button in inspections even …
Browse files Browse the repository at this point in the history
…if it is autogenerated
  • Loading branch information
agaldona authored and LoisRForgeFlow committed Jul 4, 2017
1 parent fcd3b7f commit 784cce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quality_control/views/qc_inspection_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
string="Approve" />
<button name="action_cancel"
type="object"
attrs="{'invisible': ['|', ('auto_generated', '=', True), ('state', 'not in', ['waiting', 'ready', 'failed', 'success'])]}"
attrs="{'invisible': [('state', 'not in', ['waiting', 'ready', 'failed', 'success'])]}"
string="Cancel"
icon="gtk-cancel" />
<field name="state"
Expand Down

0 comments on commit 784cce1

Please sign in to comment.