Odoo Help

0

LocalService() is deprecated since march 2013 (it was called with '%s')

By
Oliver Yuan
on 5/15/15, 12:11 AM 1,325 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)


0
Bino
On 11/10/15, 1:02 PM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 5/15/15, 12:11 AM
Seen: 1325 times
Last updated: 11/10/15, 1:02 PM