odoo-addons icon indicating copy to clipboard operation
odoo-addons copied to clipboard

Code never be reachable after return

Open AungKoKoLin1997 opened this issue 1 year ago • 0 comments

https://github.com/ajepe/odoo-addons/blob/a7d77742aef82cbf14d07f9fa3016d103545d04e/restful/models/ir_model.py#L29

Thanks for the module. But I don't understand what is the reason of adding return after called super(). So, the below code will never be reached. So, there is no improvement for _search() and same with super().

AungKoKoLin1997 avatar Feb 07 '24 03:02 AungKoKoLin1997