summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-08-29 17:38:23 +0200
committerNicolas Lempereur <nle@odoo.com>2018-09-04 11:03:15 +0200
commit4cb585ab4f880147fbe35eb988c3c1da9728f624 (patch)
tree912a30f9f778c4bad4f2737ebcc0b3147093d5dc /addons/web/static/src/js/views/basic
parent15c81d74a34b57c0aa0400ec8b66bf3397904c60 (diff)
[FIX] web: ignore default_* on group creation
When a column is created in the kanban view, the context of the window action is fully given but it may contain default_{field_name} context keys that are intended for the action model. eg. on a product.product view we could have {default_type:'product'} in the context, if we grouped by company_id and created a new company, we would the context is propagated and we would try to set type='product' on the company (which causes an error). Without the change, the added test fails with: default_* should be removed from context, actual: "true", expected: "false" opw-1879064 closes #26676
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions