diff --git a/document_page_approval/views/document_page_approval.xml b/document_page_approval/views/document_page_approval.xml index 87cdf3c4dc4..3936bed3426 100644 --- a/document_page_approval/views/document_page_approval.xml +++ b/document_page_approval/views/document_page_approval.xml @@ -37,7 +37,7 @@ name="action_cancel" type="object" string="Cancel" - invisible="(not am_i_owner or not am_i_approver) and (state not in ('draft', 'to approve'))" + invisible="(not am_i_owner and not am_i_approver) or state not in ('draft', 'to approve')" />