I am trying to inherit ExportXlsxWriter init method but my custom code init method not calling. I want to add something in init. Anyone can help ?
from odoo.addons.web.controllers.main import ExportXlsxWriter
class CustomExportXlsxWriter(ExportXlsxWriter):
def __init__(self, field_names, row_count=0):
print('Local::::::::::::::::')
super().__init__(field_names, row_count=0)