summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_cheatsheet.rst
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2019-04-29 08:53:49 +0000
committerNicolas Martinelli <nim@odoo.com>2019-04-29 08:53:49 +0000
commit7b5b41ee8881ecb457a987b7613e7942ac284123 (patch)
treef945e9eb2e3a5bebea9acbae511ddff84c93bba9 /doc/reference/javascript_cheatsheet.rst
parentd9e76c66fe6ba5e543ab40c6f77174466f7245f2 (diff)
[FIX] stock: onchange performance on picking
The use case is similar to 084dbf9b8f258e453c4a5958bc146c8f4c4ddbbb, but applied to pickings. When the picking contains many stock move, the manual edition of the quantitites is quite slow due to the `onchange` call. In the example of the OPW with 300 stock moves, the modification of the done quantity triggers an `onchange` which lasts about 1 second. The reason is the same than in the mentioned commit: the `onchange` is triggered on all lines in the case of an inline tree view, and there is not much we can do to optimize the business logic. Therefore, the solution is the same: add a stat button to access the stock moves directly in a tree view instead, to avoid this `onchange`. opw-1965248 closes odoo/odoo#33004 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'doc/reference/javascript_cheatsheet.rst')
0 files changed, 0 insertions, 0 deletions