Hi, how can i send a signal to a workflow from code (no button) with the new v8 api?
Thansk
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi, how can i send a signal to a workflow from code (no button) with the new v8 api?
Thansk
record.signal_workflow('signal')
For example:
self.signal_workflow('action_assign')
P.S.: As always when working with workflows double check that you are in the right place of it. For example to trigger 'invoice_open' you should be in "act_proforma2".
So I tried it and no work for me. invoice.signal_workflow('invoice_open')
Hi, I am late but may be helpful for others. View answer there: https://www.odoo.com/forum/help-1/question/sending-workflow-signal-from-another-model-odoo9-107180
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
มี.ค. 21
|
3807 | ||
|
1
มิ.ย. 24
|
29569 | ||
|
1
มี.ค. 18
|
11301 |