summaryrefslogtreecommitdiff
path: root/odoo/report/render/html2html/html2html.py
diff options
context:
space:
mode:
authoramoyaux <arm@odoo.com>2017-05-02 15:45:59 +0200
committeramoyaux <arm@odoo.com>2017-05-03 13:43:21 +0200
commit85e21d1725ad2d4a6c59c51d1144d34ea664018e (patch)
tree4b99d645256620214e0cec1b0f4a31f27c3a4006 /odoo/report/render/html2html/html2html.py
parent4a0f9da2e10b4ad6ead202b964f4607ef4343975 (diff)
[FIX] stock : scheduler release lock too fast
Issue: 741582 This bug happens when you click multiple time quickly on 'run scheduler' button or if you call 'run reordering rules' and then 'run scheduler' rapidly It could create duplicate PO or MO. This happens because the run_scheduler function free the lock while it should not. ProcurementSudo was created with the old cursor that contains the lock and the record set that search returns also contains this cursor. The run will call the record set with the bad cursor and commit the lock instead of the wanted behavior. This commit creates the ProcurementSudo with the new cursor that does not contains the lock.
Diffstat (limited to 'odoo/report/render/html2html/html2html.py')
0 files changed, 0 insertions, 0 deletions