I able to send Emails for Draft PQ and Confirmed PO , But In case of Cancel state i unable to send .. Can any one solve the issue.
--> I have added a Button "Send Cancellation Email" in Cancelled status..
<button name="wkf_send_rfq" states="cancel" string="Send Cancellation Email" type="object" context="{'send_rfq':True}" class="oe_highlight"/>
--> And i did some changes in template Purchase Order - Send by mail as
<p>Here is a ${object.state in ('draft', 'sent', 'cancel') and 'request for quotation' or 'purchase order confirmation' or 'purchase order cancellation'} from ${object.company_id.name}: </p>
And when i click on "Send Cancellation Email" Button it was displaying as same as in Quotation format only .
Regards