res.partner.rule.private.employee How to override this rule. I want to deactivate it through code.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
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
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.
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
AanmeldenGerelateerde posts | Antwoorden | Weergaven | Activiteit | |
---|---|---|---|---|
|
0
jul. 24
|
1011 | ||
|
1
dec. 21
|
4721 | ||
|
1
jun. 20
|
3546 | ||
Odoo 15 remove ir.rule on m2o
Opgelost
|
|
1
mei 23
|
1969 | |
|
1
jan. 19
|
21239 |