Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5469 Widoki

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  
Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

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.

Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
2161
2
lip 25
7665
2
lip 25
4090
2
lip 25
3836
2
cze 25
2443