Skip to Content
Menu
This question has been flagged
1 Reply
3885 Views

What's the new equivalent method to this?

---------------------------------

wf_service = netsvc.LocalService("workflow")

wf_service.trg_validate(uid, 'res.partner', partner_id, 'btn_approve', cr)


Avatar
Discard
Best Answer

use -
self.signal_workflow('action_assign') 

Refer to this -
https://www.odoo.com/forum/help-1/question/send-a-signal-to-workflow-in-python-new-api-68085

Avatar
Discard