December 2018
Beginner to intermediate
404 pages
10h 14m
English
In some cases, the method is expected to work at the class level and not on particular records. In some object-oriented languages, this would be called a static method. These class-level static methods should be decorated with @api.model. In these cases, self should be used as a reference for the model, without expecting it to contain actual records.
Read now
Unlock full access