Files
odoo_source/addons/crm/models
Andrea Grazioso (agr-odoo) 0645b7efa9 [FIX] crm: prevent having portal user as salesman
1. set a Sales team and add an alias
2. create a contact (customer) with an email and grant them portal
access (under the action)
3. Odoo creates a portal user
4. use the email of the contact to send an email to the alias set under
the sales team

An opportunity is created but the sales person assign to that
opportunity is the customer.

This will revert user if the user has no access to crm.lead

opw-2288442

closes odoo/odoo#54217

X-original-commit: a3fdff3dd9cc38b432b93a7cd4387cb7c38b8d06
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-07-08 11:06:42 +00:00
..
2020-06-04 15:20:08 +00:00