From 532c083cbbe0ee6e7a940e2bdc9c677bd56b62fa Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Tue, 10 Mar 2020 18:06:44 +0100 Subject: [IMP] *: remove global field definition in ir rules xml It is a computed field, there is no need to manually set its value. --- addons/note/security/note_security.xml | 3 --- 1 file changed, 3 deletions(-) (limited to 'addons/note/security/note_security.xml') diff --git a/addons/note/security/note_security.xml b/addons/note/security/note_security.xml index 6463bbfab1b..6dac46ef040 100644 --- a/addons/note/security/note_security.xml +++ b/addons/note/security/note_security.xml @@ -4,7 +4,6 @@ Only followers can access a sticky notes ['|', ('user_id', '=', user.id), ('message_partner_ids', '=', user.partner_id.id)] - @@ -13,7 +12,6 @@ note: create / unlink: responsible [('user_id', '=', user.id)] - @@ -22,7 +20,6 @@ Each user have his stage name ['|',('user_id','=',False),('user_id','=',user.id)] - -- cgit v1.2.3 From a3ded9043d34229e4547e16625a86dfbebdbcfaf Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Tue, 10 Mar 2020 18:07:12 +0100 Subject: [IMP] *: declare ir.rule in noupdate ir.rule are default values but can be customized based on the company's policy and needs. This is typically a record that is in noupdate as should be customization-friendly. --- addons/note/security/note_security.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/note/security/note_security.xml') diff --git a/addons/note/security/note_security.xml b/addons/note/security/note_security.xml index 6dac46ef040..3b657e48633 100644 --- a/addons/note/security/note_security.xml +++ b/addons/note/security/note_security.xml @@ -1,5 +1,5 @@ - + Only followers can access a sticky notes -- cgit v1.2.3