This question has been flagged
1 Reply
3260 Views

Hi,

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

Fabian

 

 

Avatar
Discard

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"

Best Answer

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:)

Avatar
Discard