Hi,
Community Version 14 (E-commerce)
Is that possible to cancel the confirmed sales order if the payment has not been paid with certain period?
Thanks!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
Community Version 14 (E-commerce)
Is that possible to cancel the confirmed sales order if the payment has not been paid with certain period?
Thanks!
Hello ODBWilson,
Yes possible. You can do this by creating Cron job.
Thank you! Can you elaborate more? Like which tables to check, and is it safe to delete the confirmed order in the DB?
Hello ODBWilson,
You have create cron job. In Cron job you have to search sale orders and need to call cancel button method to cancel sale order.
But may be this will not cancel Delivery orders or invoices. If you want to cancel those you have call cancel method for delivery order and invoice, If odoo allows to cancel.
Oh I see. I thought I have to write up a script to cancel the order in the DB. I will look at how to do the cronjob in Odoo.
Thanks!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up