Odoo Help

Welcome!

This community 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.

0

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

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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