Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3116 Visninger

hi i want to modify this record 

​res.partner.rule.private.employeefield>

​ ['|', ('type', '!=', 'private'), ('type', '=', False)field>

record>


but i can't do that because the no update is True so i try this code to set the no update gonna be False 

​function>

function>


but its not work. So i manually set the no update be False from setting and then try to rewrite the rule but i still can't update it 

Avatar
Kassér

"Record Rule" is not a question.
We get almost 1,000 posts a month and not everyone will open a post to find out what your question is.
I have edited your post to make the title a question.
In the future, please consider using a Question that makes it clear what you ask without requiring people to open your post, as this will often increase the chances people will respond and make everything clearer for others looking for the same answer.
See also https://www.odoo.com/forum/help-1/meta-why-do-some-questions-get-answers-and-others-do-not-25620

Bedste svar

To achieve this on the backend, we must first obtain the Record rule's XML file. We may find this by looking for the name of the Record Rule. After that, create a security.xml file in the new module's security subdirectory and paste the code into it. Check if the security.xml file was called in the manifest file.

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
apr. 22
18364
0
jan. 22
2602
3
dec. 23
5218
0
dec. 22
2540
1
dec. 22
25130