Before this commit, the sync buttons for google and microsoft would appear in the calendar sidebar even if the sync was not set (module not installed and credentials not set). After this commit the buttons only appear in the sidebar if the credentials for that service are set. task-3455051 task-3389317 Part-of: odoo/odoo#138670