Odoo Help


netsvc.Service no longer available on v8

Fabian Semal
on 1/7/15, 12:35 PM 1,416 views


In a custom module in v7, I was using Service from the netsvc module in order to remove a service to replace it by a custom one:

from netsvc import Service
del Service._services['report.account_followup.followup.print'] 

But it is no longer available anymore on v8, any idea what I can do now to achieve the same result ?

Thank you




Fabien, though netsvc is depricated, its still working in v8 for workflow transition n all. I just had a custom module using netsvc, and its working. Also in your code given above, its not "netsrv"

Akhil P Sivan
on 1/7/15, 1:46 PM



| 5 4 6
Zagreb | Karlovac, Croatia

there is only 10 kind of people the ones that understand binary ... and others

On 1/8/15, 4:11 AM

Altough netsvc is depreciated ,it is still working, so, you can use it...
There is no need to delete existing service (because it is not existing) 
You want to migrate your report module from v7 to v8, and in v8 reports are mostly qweb-pdf, 
so what you need is only the correct id of report you want to override , and it will work...
You will change the type of report from qweb-pdf to pdf...and the you need to check in settings->Reports if all is ok...
(notice new menuitem for managing reports!)

hope it helps:)

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.


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

3 follower(s)


Asked: 1/7/15, 12:35 PM
Seen: 1416 times
Last updated: 3/16/15, 8:10 AM