-
- Downloads
[FIX] base: Wrong 'default_type' on create kanban stage grouped by 'Customer'
Issue
Step done with "CRM" since main kanban view can be
grouped by 'res.partner' model:
- Install "CRM" app
- Go to crm and group by "Customer".
- Add a Column.
Traceback is raised.
Cause
Wrong "default_type" in context ('opportunity' in this case)
when creating new kanban stage and grouped by "Customer".
Solution
On "default_get" for "res.partner", if "default_type" is in
context and not in 'type' selection choices field; then
remove it from context.
Cherry-pick of #47723 in 12.0
opw-2256905
closes odoo/odoo#51673
Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
Loading
Please register or sign in to comment