跳至內容
選單
此問題已被標幟
3162 瀏覽次數

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?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
8月 25
135
3
7月 25
8861
2
7月 25
620
2
7月 25
1241
1
6月 25
821