odoo/industry#2028
Created by fw-bot
- label
- odoo-dev:saas-19.2-19.0-booking_engine-fix-availabilities-cron-trcaz-519143-fw
- head
- 297bd06576c22a71a933c87252cfdf28530c332c
- merged
- 8 hours ago by Industry, Vallaeys Valentin (vava)
| odoo/industry | |
|---|---|
| 19.0 | #2026 |
| saas-19.1 | #2027 |
| saas-19.2 | #2028 |
| master | #2031 |
[FIX] booking_engine: fix cron not working after the first time
Before this commit, the ir_cron_create_500_days_availability cron could only work the first time. The code was correct when no availabilities were returned by the _read_group but incorrect when not empty. This commit fixes this and adds a test to validate that the cron can run twice.
Forward-Port-Of: #2026