diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-05-11 15:05:18 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-05-28 17:25:51 +0200 |
| commit | 9654f6b8e0313553a555a8c9cb8349ca1c412ca3 (patch) | |
| tree | 6aebe64ce160e6720dcc4872b7bdb40326d2cdf1 /doc/reference/javascript_reference.rst | |
| parent | a89e46fdc0bd7e3cf2222dc221ab8e35fc7dca03 (diff) | |
[FIX] web: o2m editable decorated, paged, ordered supports adds/cancel
Have a decorated (conditional on field) editable list, with a default_order.
Have more records than the pager allows.
Add an item, and hit escape to cancel addition.
Before this commit, the cancellation crashed because the first record on the other page
was trying to evaluate the decoration for its row, which is wrong in the first place.
This was because creating a record increases the limit of the list, to be able to see the record
being created.
At cancellation though, that limit was never decreased.
After this commit, the whole flow happens without problem.
OPW 1844495
closes #24682
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
