[16.0][FIX] base_user_role: default roles
When granting access to a contact, a copy from Portal User Template is made for it. But applied default roles are the ones from Default User Template, causing an error when trying to assign both internal and portal types to new user.
Steps to reproduce
- Create a new role, assigning it group User types / Internal User
- Assign this role to user Default User Template
- Grant access to a res.partner (Actions > Grant portal access and then GRANT ACCESS)
FL-556-4543
Hi @sebalix, @novawish, @jcdrubay, some modules you are maintaining are being modified, check this out!
Done @StefanRijnhart, thanks for the feedback!
Regards
This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
/ocabot merge patch
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-319-by-dreispt-bump-patch, awaiting test results.
Congratulations, your PR was merged at c756460d266dbe3b2a49deb248d11a267a0f686d. Thanks a lot for contributing to OCA. ❤️