diff options
| author | Simon Lejeune <sle@openerp.com> | 2018-01-05 16:32:46 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-01-05 18:28:32 +0100 |
| commit | 25943696ea00b140ea19de1c6ee6a42d97d8e2f7 (patch) | |
| tree | 653237021e14496004e20be94a1d40d6036f8293 /addons/web/static | |
| parent | d4982394bc9cf2b330e7c87bd7b8d1cae74ffb5f (diff) | |
[FIX] stock: _compute_entire_package_ids
When a picking contain a few thousands move line, reading it was slow
because of the computation of "entire_package_ids" and
"entire_package_detail_ids". The compute method for this field calls
"_check_move_lines_map_quant_package" that check that, for a picking,
all the move lines having "package_id" and "result_package_id" as the
same package (ie moving an entire pack) match exactly the content of the
package (ie the quants).
The issue was that the method was called for every move line without
packaging because of a wrongly written condition. We now only call the
method one time for each package, whatever the number of move line.
opw-803887
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions
