From 1c1d4d2d8d4bde1d4e131a01fbc0ecd271b52d6c Mon Sep 17 00:00:00 2001 From: nicomacr Date: Fri, 31 May 2019 13:34:53 -0300 Subject: [PATCH] [FIX] document_page_aproval: Modify in records rules Add the the group eployee to the rule "Change Request Global" to allow to the user with the rule "Change Request Approver" to create pages --- document_page_approval/__manifest__.py | 2 +- document_page_approval/security/document_page_security.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/document_page_approval/__manifest__.py b/document_page_approval/__manifest__.py index 46aaf9eb..13307c48 100644 --- a/document_page_approval/__manifest__.py +++ b/document_page_approval/__manifest__.py @@ -3,7 +3,7 @@ { 'name': 'Document Page Approval', - 'version': '11.0.2.0.0', + 'version': '11.0.2.1.0', "author": "Savoir-faire Linux, Odoo Community Association (OCA)", "website": "http://www.savoirfairelinux.com", "license": "AGPL-3", diff --git a/document_page_approval/security/document_page_security.xml b/document_page_approval/security/document_page_security.xml index ab79d1ef..03a170e4 100644 --- a/document_page_approval/security/document_page_security.xml +++ b/document_page_approval/security/document_page_security.xml @@ -14,6 +14,7 @@ Change Request Global + ['|',('state','=','approved'),('create_uid','=',user.id)]