Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
7498 Vizualizări

res.partner.rule.private.employee How to override this rule. I want to deactivate it through code.

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

Either you can delete that rule or you can set active False for that record. Both can be done from UI or from Code.

Setting active False:

<record id="base.res_partner_rule_private_employee" model="ir.rule">
<field name="name">res.partner.rule.private.employee</field>
<field name="active" eval="False"/>
</record>

Deleting the rule:
<delete id="base.res_partner_rule_private_employee" model="ir.rule"/

Thanks

Imagine profil
Abandonează
Autor

Thanks!

Messing with this rule, unfortunately, is quite dangerous. By deleting or archiving this rule any users that belong to the internal group will no longer able see any internal users / partners, and probably not even able to log-in.

Related Posts Răspunsuri Vizualizări Activitate
0
iul. 24
1013
1
dec. 21
4729
1
iun. 20
3560
1
mai 23
1974
1
ian. 19
21250