summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-03-20 17:18:53 +0100
committerqsm-odoo <qsm@odoo.com>2017-03-21 11:55:45 +0100
commit3aabf8101a74ccaf0403f5c4fc94c2901a9e951d (patch)
treec3a0b0e8ccef78997e0f158589982c62c4fe4a1e /addons/web/static/src/js/views/basic
parent1cefe8d78727549fd86661a946cbf275dd1a86b6 (diff)
[FIX] web: correctly check editable list validity
The editable list has a `is_valid` method which checks that all the records it contains have valid data. The problem is that it was considering that all the records in the `dataset.cache` were part of the x2x field the editable list is working with. This is wrong as the `dataset.cache` can contain information which are not part of the editable list anymore. See the commit which introduced the use of the `dataset.cache`: a9d20d9fa04b1dbb350663652e0996e258ac6d31 This was causing issues with rare cases of an editable list which contains another editable list (even invisible) which was sharing common information with its parent editable list. opw-710627
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions