Hello Odoo,
I have created a rule to confirm sales orders that have the product type "Booking Fees". I have tried running it manually and it does work. However, it fails to work automatically for some reason. I am hosting on-premise so it should not delay.
Maybe this would work:
for record in records:
record.order_id.action_confirm()