diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-02-14 17:47:23 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-02-15 11:21:21 +0100 |
| commit | c1276c154eae4d6f29d692d75b31d8045d04278d (patch) | |
| tree | 88ecb827036ad665bbcbc119b5d738a576ebb6ee /addons/web/static/src/js/views/basic | |
| parent | 73c2ac451af1afec38d06d102063c81e704ff22b (diff) | |
[FIX] point_of_sale: flattening only group of taxes when creating amls
Revision 89c63096cb95f10f8bb3770e10d330aa904ac159 fixed the creation
of the taxes applied to account move lines when validating a pos session
The fix though overlooked two things:
- protection against recursivity
(nothing prevents a group of taxes to have a grand-parent as one of its children)
- the fact that when converting a group of taxes into a regular computed one,
the field children_ids is never reset
Those two caveats provoked a "max recursivity error" in python within the right conditions
This commit protects the recursive process from the two issues, and there is no traceback
OPW 816163
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
