Small refactoring to allow calling the method to update the debug manager action independently from `current_action_updated`. Needed for 3d80ff9998dd402ac48d280e5d6b81aaf91b6180. opw-2365539 closes odoo/odoo#61491 X-original-commit: c4e1cfc527cf65fdad201b77e54bf7027b8dd6c2 Related: odoo/enterprise#14639 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>