Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3177 Prikazi

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?

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
jul. 25
8867
2
jul. 25
626
2
jul. 25
1247
1
jun. 25
823
1
maj 25
1123