I am trying to cancel a large amount of sales orders at once. I have an action that does work to confirm multiple quotes at once, so I tried to just adjust that server action to cancel, but I can't get it to work.
for record in records:
record.action_cancel()
Anything I should adjust?
We have v16. I am trying to cancel confirmed sales orders in bulk.
What you have done looks the same as this: https://www.odoo.com/forum/help-1/cancel-quotations-257048
Niyas will probably know whether this should work in v16