Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3334 Zobrazení

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
Zrušit

"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

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
dub 22
18364
0
led 22
2718
3
pro 23
5668
0
pro 22
2719
1
pro 22
25457