Right now when I started coding on Odoo v13 I found that Odoo has been removed
What is the alternative of the
@api.one in Odoo v13 ?
odoo13 by default instance method will accept
multi instance (multi-recordset).
So for instance method, you should remove the
@api.multi decorator from your methods.
For a single instance(single recordset), you still can check with
self.ensure_one() or you can apply your own logic.