İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
7496 Görünümler

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

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
Üretici

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.

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Tem 24
1012
1
Ara 21
4728
1
Haz 20
3557
1
May 23
1972
1
Oca 19
21246