Thursday, February 2, 2023
1 change · master
Enhancements to existing features
This change removes old internal access-check methods that are no longer used. It simplifies the core base module and reduces maintenance overhead without changing day-to-day user behavior.
Original PR description
It looks like these methods where an alternative to `has_groups`, but not used since a while. In Odoo 10.0, there is only one hit, in point_of_sale, which has been replaced by `user_has_groups` in 11.0 with revision 34c661111b74145c334ce0cb456a18adccc4a4de In Odoo 9.0, there are a few more hits in base, which have been replaced by `self.env.user.has_group` in 11.0 with revision 4ddc32313996c8cf6e8e6dffd2253aad8a144ccf