Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
def report_barcode(self, type, value, width=600, height=600, humanreadable=0):
print "--------- OVERRIDE"
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
|Asked: 9/19/16, 5:05 AM|
|Seen: 432 times|
|Last updated: 9/19/16, 5:11 AM|