Odoo Help


How can i create and attach a Template to cancelled purchase order in Purchase module???

syam sundar singh
on 11/14/14, 7:25 AM 1,712 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 .




Ludo - 21South

--Ludo - 21South--
| 2 2 5
Zwijndrecht, Netherlands
--Ludo - 21South--


Ludo - 21South
On 11/14/14, 8:09 AM

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.

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

syam sundar singh
on 11/17/14, 12:31 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/14/14, 7:25 AM
Seen: 1712 times
Last updated: 3/16/15, 8:10 AM