Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3111 Visualizzazioni

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
Abbandona

"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

Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
apr 22
18364
0
gen 22
2593
3
dic 23
5212
0
dic 22
2531
1
dic 22
25121