Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3375 Vistas

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
Descartar

"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

Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
abr 22
18364
0
ene 22
2763
3
dic 23
5753
0
dic 22
2754
1
dic 22
25500