mirror of
https://github.com/OCA/knowledge.git
synced 2025-12-22 05:12:18 -06:00
[FIX] document_page_approval: Add Change Request Manager rule
Steps to reproduce the error: - Modify the content of a page (with a different user). - Go to the Change request menu and Cancel the change. - Click on the "Back to draft" button. - An error will be displayed TT55569
This commit is contained in:
committed by
Bhavesh Heliconia
parent
a53bc19077
commit
d45dd7ff54
@@ -45,6 +45,7 @@
|
||||
type="object"
|
||||
string="Back to draft"
|
||||
invisible="(not am_i_owner or not am_i_approver) and (state not in ('cancelled', 'to approve'))"
|
||||
groups="document_page.group_document_manager"
|
||||
/>
|
||||
<field name="am_i_owner" invisible="1" />
|
||||
<field name="am_i_approver" invisible="1" />
|
||||
|
||||
Reference in New Issue
Block a user