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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
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.
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
0
lug 24
|
1014 | ||
|
1
dic 21
|
4739 | ||
|
1
giu 20
|
3566 | ||
Odoo 15 remove ir.rule on m2o
Risolto
|
|
1
mag 23
|
1974 | |
|
1
gen 19
|
21251 |