I have a Custom module in which i want to import CSV File record (using buttom beside Create button), I can able to import csv file to odoo database but i want to override import method to our Custom module
I want to import that csv file to outside mysql database so that whenever i import csv it will import to odoo (PostgreSQL) database and also update to mySQL database
I found which method is been used to import functionaility but not able to orverride that import method,
Import module Path: base_import/models/base_import.py
model name: " base_import.import "
Method name:
@api.multi
def do(self, fields, options, dryrun=False):
Any help will worth to me. Thanks in advance