summaryrefslogtreecommitdiff
path: root/addons/test_mail/security/test_mail_security.xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-03-20 13:03:50 +0000
committerAaron Bohy <aab@odoo.com>2020-03-20 13:40:42 +0000
commitf6c06bd0b87dac11d76a3134eb61c7ef4eb59270 (patch)
tree3e029d023fa677ec9b4622d5804af57b562ed51a /addons/test_mail/security/test_mail_security.xml
parent5d86eb64aca928960b3647cd74e5f653dfdf8f8e (diff)
[FIX] web: nested x2many with non inline views
Let's assume a form view with an x2many list, containing itself an x2many field (no widget, so simply displaying the number of records). When a record of the list is clicked, a form view opens and displays the same sub x2many field, with widget many2many_tags. Both list and form views of the x2many aren't inline (thus have to be fetched on demand). Before this commit, it crashed when the user clicked on a row of the x2many list. The bug has been introduced by a9cebd5a, which wrongly removed the code handling this specific situation. At least, now we have a test attesting that this code isn't useless. Note that the diff isn't as scary as it looks like (we just added an if/else, and thus indented the former code inside the else clause). closes odoo/odoo#48116 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
Diffstat (limited to 'addons/test_mail/security/test_mail_security.xml')
0 files changed, 0 insertions, 0 deletions