Odoo Help


This community 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.


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 929 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 - Neobis

--Ludo - Neobis--
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--


Ludo - Neobis
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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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