diff options
| author | Laurent Smet <las@odoo.com> | 2018-12-05 14:26:16 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2018-12-06 08:21:22 +0000 |
| commit | 458b49241a25b9571ab16ec51fce7e81dbbafc37 (patch) | |
| tree | 740a8938d014e5064667a914995f366a1077e6e1 /addons/web/static/src/js/views/graph/graph_renderer.js | |
| parent | 8a0e42e8f41f323a605d60aabf008711158e7386 (diff) | |
[IMP] account: Improve matching communication rules
Suppose a statement line having 'SO022' as name.
Suppose a move having 'INV/2018/0001' as name and 'INV/2018/0001 SO022' as ref.
The previous behavior didn't work because '20180001 022' = ANY({'022'}) was False.
This commit changes the matching by computing the array in both size and checking the intersection.
{'20180001', '022'} && {'022'} is True
closes odoo/odoo#29299
Diffstat (limited to 'addons/web/static/src/js/views/graph/graph_renderer.js')
0 files changed, 0 insertions, 0 deletions
