summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-06-16 13:44:32 +0000
committerXavier Morel <xmo@odoo.com>2020-06-17 07:23:28 +0000
commit1eadda159f6be8094f6aac3c95f21b81ff078177 (patch)
tree4f9d63e7936d0c6c41f54ab07f8efda4d28810e3 /addons/web/static/src/js/views/basic/basic_controller.js
parentde131bb6ff75364743527410cb4f3dd481d9d408 (diff)
[FIX] core: make `state` special case overridable
`state` was special cased in `copy_data` such that it would always be reset to its default value if it had one. While this special case can be useful (maybe) and is certainly ingrained in odoo, having it not be overridable can be problematic. Move the special case to the fields, so it's possible to explicitly mark state fields as copy. closes odoo/odoo#53113 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions