This question has been flagged
1 Reply
3630 Views

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

 

Avatar
Discard
Best Answer

We need far more information than this to even get started.

What have you done for yourself? What have you tried? What went wrong? Post a stacktrace or piece of the log to show the error etc. etc. etc.

Avatar
Discard
Author

I have update the details can you please look in to the issue. When you are free thank you