mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[IMP] quality_control: show action_cancel button in inspections even if it is autogenerated
This commit is contained in:
@@ -31,7 +31,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"
|
||||
|
||||
Reference in New Issue
Block a user