How to override method of BaseModel (odoo/models.py) in odoo v11?
I want to override function unlink() of base model.I got a reference but it is works in odoo9.
Can anyone suggest how to override standard unlink() method (odoo/models.py) in odoo 11?
I have tried below code but it didn't worked.
from odoo import api, models
_auto = False
_register = False
return super(BaseModelExtend, self).unlink()