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

[Question] restful: what is the reason of just returning the result of super()

Open AungKoKoLin1997 opened this issue 1 year ago • 0 comments

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

I found you added some customize code but you added return statement before your customization. The code after return statement will never be reached and worked. So, is that intentional or any reason?

AungKoKoLin1997 avatar Feb 10 '24 07:02 AungKoKoLin1997