Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5507 Lượt xem

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  
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
2355
2
thg 7 25
7851
2
thg 7 25
4247
2
thg 7 25
4013
2
thg 6 25
2612