Ir al contenido
Menú
Se marcó esta pregunta
3160 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ago 25
113
3
jul 25
8859
2
jul 25
618
2
jul 25
1233
1
jun 25
819