sale.order.basic sale.order True True draft sent function write({'state':'sent'}) router function action_wait() OR wait_invoice done True function action_done() AND cancel True stopall action_cancel() cancel2 True stopall action_cancel() invoice subflow action_invoice_create() invoice_except function action_invoice_cancel() invoice_end function action_invoice_end() invoice_cancel True stopall action_cancel() quotation_sent order_confirm cancel order_confirm cancel all_lines cancel manual_invoice subflow.paid subflow.cancel invoice_recreate invoice_corrected invoice_cancel