-
- Downloads
[FIX] web: x2manys: correctly handle REPLACE_WITH operations
Have an x2many component that calls replaceWith with a list of
ids s.t. there're added **and** removed ids comparing to the
current value (e.g. the relation is currently [1, 2], and
replaceWith is called with [1, 3]). Before this commit, this didn't
work, and the resulting list of ids was empty. We never saw it
because no standard component allows to both add and remove at the
same time, but this can happen in custom components.
Issue reported by the PS-tech
closes odoo/odoo#136602
Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
Please register or sign in to comment