Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd

I'm trying to override the method report_barcode of the class ReportController but it's not working. Can someone help me?

I don't get any error, it just continues to generate the barcode and doesn't print the message.

This is the code:


from openerp.addons.report.controllers.main import ReportController
from openerp.http import route

class ReportBarcodeController(ReportController):
    @route()
     def report_barcode(self, type, value, width=600, height=600, humanreadable=0):
                print "--------- OVERRIDE"
Avatar
Annuleer
Auteur

SOLVED!

Gerelateerde posts Antwoorden Weergaven Activiteit
4
dec. 22
12175
2
nov. 21
16309
1
mrt. 19
6825
1
mei 16
3012
1
mrt. 15
5611