Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3314 Widoki

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 

Awatar
Odrzuć

"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

Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
kwi 22
18364
0
sty 22
2711
3
gru 23
5654
0
gru 22
2718
1
gru 22
25450