Vauxoo / addons-vauxoo

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.
http://www.vauxoo.com
193 stars 288 forks source link

[IMP] default_warehouse_from_sale_team: hook to fill allowed sales teams T#79454 #1673

Closed luisg123v closed 3 months ago

luisg123v commented 3 months ago

Implement a hook to fill allowed sales teams in users that are already a member of any team.

Since this module implements a feature to restrict which sales teams a user may be a member of, users that already belong to any team are configured to be allowed for those teams, to avoid inconsistencies between allowed and already-configured memberships. In other words, if a user already belongs to a team, it most likely means they should be allowed to belong to it, so allowance is granted.

xmglord commented 3 months ago

commit description: f.ill -> fill missing final dot at the first paragraph same comments as in docstring

luisg123v commented 3 months ago

@xmglord Fixes to commit messages applied.

xmglord commented 3 months ago

@xmglord Fixes to commit messages applied.

Not applied yet