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

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

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.

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 25
2195
2
Tem 25
7697
2
Tem 25
4115
2
Tem 25
3861
2
Haz 25
2473