diff --git a/website_sale_aplicoop/models/group_order.py b/website_sale_aplicoop/models/group_order.py index bb9b02a..487b882 100644 --- a/website_sale_aplicoop/models/group_order.py +++ b/website_sale_aplicoop/models/group_order.py @@ -667,9 +667,10 @@ class GroupOrder(models.Model): """ self.ensure_one() - # Only confirm if cutoff date has reached or passed (>= cutoff day itself) today = fields.Date.today() - if self.cutoff_date and self.cutoff_date > today: + + # Skip if cutoff hasn't passed yet (the cycle is still open for orders) + if self.cutoff_date >= today: _logger.info( "Cron: Skipping group order %s (%s) - cutoff date %s not yet passed", self.id,