diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-02-06 15:11:48 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-02-06 15:11:48 +0000 |
| commit | 314088a5ecbd858fcf08cc6cab2ad94985806212 (patch) | |
| tree | 5a5589c61cde4d1130d3d8f0c3cee69ab4bc9c0f /addons/web/static/src/js/views/basic | |
| parent | 1a299e883368a8c5289cb80f5ec9b2e52b0b583e (diff) | |
[FIX] point_of_sale: resuscitate onchange amount all
Make a return on a pos_order. A new pos_order is created.
On the latter, remove a pos_orde_line.
Before this commit, there was a traceback, due to a KeyError
It was introduced by 5f6a4912659084af16856fac164e175acfd712f4
which intended to optimize migration process
We keep the logic of that commit here, in a new helper method
while restoring the original onchange,
since it wasn't compliant with onchange specs
OPW 1934129
closes odoo/odoo#30897
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
