diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-05-04 18:05:17 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-05-04 18:05:17 +0200 |
| commit | 90cb409be933bef5b5a7788980818927598ba8e1 (patch) | |
| tree | 0e9f0f05d0f0569eca0764bb7bb8bb5d1204db70 /addons/web/static/src/xml/base.xml | |
| parent | d377f5690e62237317c8909a9d9d1814cef60c6d (diff) | |
[FIX] stock: procurement set as done of sets bom.
In the case of sets, several stock moves can have
the same procurement.
Therefore, appending procurements in the list `procurement_ids`
without checking if the procurement isn't already in the list
could lead to having several times the same
procurement in that list,
and could therefore lead to the check of the same procurement
over and over, leading to performances issues and the fact you cannot
call `write` on a list having several times the same id.
See models.py 3875
Using a set instead of a list solve this issue
opw-634393
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
