Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion document_page_approval/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

{
"name": "Document Page Approval",
"version": "18.0.1.2.0",
"version": "18.0.1.2.1",
"author": "Savoir-faire Linux, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/knowledge",
"license": "AGPL-3",
Expand Down
2 changes: 1 addition & 1 deletion document_page_approval/views/document_page_approval.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
name="action_draft"
type="object"
string="Back to draft"
invisible="(not am_i_owner or not am_i_approver) and (state not in ('cancelled', 'to approve'))"
invisible="(not am_i_owner and not am_i_approver) or state != 'cancelled'"
groups="document_page.group_document_manager"
/>
<field name="am_i_owner" invisible="1" />
Expand Down
Loading