diff options
| author | Djamel (otd) <otd@odoo.com> | 2021-03-08 08:39:13 +0000 |
|---|---|---|
| committer | Jorge Pinna Puissant <jpp@odoo.com> | 2021-03-11 09:25:23 +0000 |
| commit | 227c4dffffaf7a2fb3976391aa64685d3fb938c3 (patch) | |
| tree | 157f9f64ba0fd0abf08b0f19ff123dbc30e2a92d /addons/mail | |
| parent | 31ca461ee3a6b9560fe6d78642e8fe5017b1085e (diff) | |
[FIX]base: fix domain of "user_id" field in res.partner
Steps to follow to reproduce the bug:
-Go to the Contact app
-Choose any contact
-In the contact form> go to the "sales & purchase" tab and try to assign a user in the "salesperson" fields
Problem:
You can choose any user regardless of their type. While normally we can only choose internal users
Solution:
Add a domain to the "user_id" fields to only see users of the kind "internal type"
opw-2468819
closes odoo/odoo#67592
X-original-commit: a6c26aedf4c8043ac79b241acf6d69d1498f0acd
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Diffstat (limited to 'addons/mail')
0 files changed, 0 insertions, 0 deletions
