summaryrefslogtreecommitdiff
path: root/addons/base_import/static/src/xml/base_import.xml
diff options
context:
space:
mode:
authorSwapnesh Shah <swapneshshah111@gmail.com>2020-05-22 09:19:05 +0000
committerNasreddin (bon) <bon@odoo.com>2020-06-02 16:13:30 +0000
commit2c62d1bc22403cae353a40647ca32216a3340eb4 (patch)
treeaa45c887ade528ba874ac162bf9605f626d9af62 /addons/base_import/static/src/xml/base_import.xml
parent7630ef33885a9829b267ba64572e9751ed1ad980 (diff)
[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#52282 X-original-commit: e5796429c8adcbb929cb032cdfd2cbaba835b086 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/base_import/static/src/xml/base_import.xml')
0 files changed, 0 insertions, 0 deletions