Hello,
Sale Order -> "Confirm" -> action_confirm
If Setting -> Automation ->
Automated Actions:
1. Try Code:
for rec in records:
if rec.state == 'sent':
rec.action_confirm()
Elif Setting -> Action ->
Server Actions:
1. Create Contextual Action: Click
Action Name: SO status: sent to done
Model: Sales Order
Action To Do: Execute Python Code
Python Code:
for rec in records:
if rec.state == 'sent':
rec.action_confirm()
2. Sale Order -> Tree -> Filters -> Add Custom Filter -> Status is
Quotation Sent
-> Tree -> Checkbox Selected (all)
-> Action -> SO status: sent to done
Else:
Contact me for more information: enginulger06@gmail.com
What you want to do? You want to change the old record status?
Yes, I would like that Odoo confirms all quotation sents to sales orders.