Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
5513 Näkymät

Hello Odooers,


In Odoo 14, i can see that access right for transient model is must. What is the technical reason behind that?


--

Regards
Haresh Kansara
Odoo Application Engineer

https://join.skype.com/invite/dl0S6rgZ7GBF  
Avatar
Hylkää
Paras vastaus

Hi,

For improving the security of odoo, the access rights is brought for the transient models in Odoo 14.


1.   Wizards do present data to Users. There are cases where you want to prevent unauthorized users from accessing data.

 

2.  The development pattern should be the same for a Wizard as for a regular model.


See this video during odoo experience, explaining the same: Why Access Rights For Transient Models in Odoo14

Thanks

Avatar
Hylkää
Tekijä

You are the great, thanks

Also, here is a reference back to where it was introduced https://github.com/odoo/odoo/pull/43306 with extra info from Martin as to the reasoning behind it.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 25
2389
2
heinäk. 25
7885
2
heinäk. 25
4292
2
heinäk. 25
4030
2
kesäk. 25
2636