summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorFanny He <fah@odoo.com>2020-01-23 13:26:48 +0000
committerArnold Moyaux <arm@odoo.com>2020-01-28 13:03:13 +0000
commita227bd915680d56ff99a5781aa52eff33f33e0a7 (patch)
tree2a8bd30d405d76d1a36fc4d97765e02b9e27c0c8 /doc/reference/javascript_reference.rst
parent3c7bc9721be0326adb90e47451a073cfad795113 (diff)
[FIX] stock, stock_account: commit _run_scheduler_tasks
When running the scheduler, either from the cron or from Inventory, _run_scheduler_tasks calls _merge_quants. However, when there were quants to merge, the query from _merge_quants would not be applied from this function. This is because the parameter use_new_cursor was used but a manual commit was missing after calling _merge_quants. For run_scheduler, we use the parameter use_new_cursor except for tests. We add a commit in _run_scheduler_tasks, so that the result of _merge_quants is committed in the database. Same issue for _run_fifo_vaccum opw 2155559 closes odoo/odoo#44105 X-original-commit: 021f0f0cdeb006006e93fd74f0280d18b5688836 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions