Hi !
I've looked at few messages about this topic but no one has the same objective/solution.
I want to create an automated action to "click" on the sale order button "send by email" aka method action_quotation_send
I've tried many ways based on previous experience that worked on similar case :
I've created an automated action triggered on creation :
- 1 :
record.action_quotation_send()
-2:
for rec in record:
if rec.state == "draft":
rec.action_quotation_send()
also tried : action = rec.action_quotation_send()
-3:
records.action_confirm()
I've successfuly done something similar ton confirm sale ordrer ( action_confirm() ) but not succeded to this one....
thanks,