Three guards before confirming sale orders: 1. Skip if no cutoff_date (no cutoff_day configured): avoids blindly confirming all draft orders for group orders without a weekly cycle defined 2. Skip if cutoff_date >= today: cycle still open 3. Skip if cutoff_date >= 7 days ago: stale date from a previous cycle (protects against cron gaps and confirms only within 1-6 days after cutoff) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| group_order.py | ||
| js_translations.py | ||
| product_extension.py | ||
| res_config_settings.py | ||
| res_partner_extension.py | ||
| sale_order_extension.py | ||
| stock_picking_extension.py | ||