Tuesday, April 21, 2026
1 change · 18.0
Code cleanup and technical improvements
This change renames an internal method so its name better matches what it actually does. It should reduce confusion for developers maintaining the system, while keeping the existing behavior for users the same.
Original PR description
The method `get_formview_action` in `ir_ui_view.py` is primarily used by M2O UI fields to open views of a linked record. However, because it is frequently overridden across the codebase to open various other view types (such as kanban and list views), the original name is misleading. Rename the method to `get_defaultview_action` to better reflect its actual behavior and prevent developer confusion. task-6068437