All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
When a user is created without a default sales team or if a user is being deleted the field sale_team_id will be set to False, the constraint will fail since the value False is not on the sale_team_ids list.
T#40491
When a user is created without a default sales team or if a user is being deleted the field
sale_team_id
will be set to False, the constraint will fail since the value False is not on thesale_team_ids
list.