odoo/odoo#194944

Created by fw-bot
Merged at ee58a5581c1aa0c1d7565bc251bab3bf1c31dfc2

Statuses:

label
odoo-dev:saas-18.1-18.0-scheduler-notify-progress-whe-Eopv-fw
head
2ce2d14dcef586889c127f52602cc6433a5e614b
merged
6 months ago by Logistics, Arnold Moyaux (arm)
odoo/odoo
18.0 #189708
saas-18.1 #194944
saas-18.2
saas-18.3
saas-18.4
master #194952

[FW][FIX] stock,product_expiry,point_of_sale: cron progress in scheduler

This commit makes use of the ir.cron.progress feature in the stock scheduler. The first approach is to simply count how many tasks have been completely done among the 5 currently available

  • stock
    • trigger orderpoints
    • merge quant & delete 0 quant
    • reserve confirm stock move
  • point_of_sale
    • close session
  • product_expiry
    • make alerts on expired lots

They will be split in 5 different crons later to be able to count exactly the remaining records number to manage in each sub tasks.

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #189708