Odoo Help

Welcome!

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.

0

How can I react to an order being cancelled?

By
Kit Sunde
on 9/12/14, 7:15 AM 466 views

I have a record that schedules emails when an order is confirmed:

<record id="sale.act_router" model="workflow.activity">
  <field name="action_id" ref="action_schedule_emails"/>
</record>

I've tried doing the same for an order getting cancelled with:

<record id="sale.act_cancel" model="workflow.activity">
  <field name="action_id" ref="action_cancel_emails"/>
</record>

<record id="sale.act_cancel2" model="workflow.activity">
  <field name="action_id" ref="action_cancel_emails"/>
</record>

<record id="sale.act_cancel3" model="workflow.activity">
  <field name="action_id" ref="action_cancel_emails"/>
</record>

<record id="sale.act_ship_cancel" model="workflow.activity">
<field name="action_id" ref="action_cancel_emails"/>
</record>

<record id="sale.act_invoice_cancel" model="workflow.activity">
  <field name="action_id" ref="action_cancel_emails"/>
</record>

But it doesn't seem like the action gets triggered. What am I doing wrong?

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

2 follower(s)

Stats

Asked: 9/12/14, 7:15 AM
Seen: 466 times
Last updated: 3/16/15, 8:10 AM