travis-ci
[FIX] Get attributes on the class instead of recordsets Even if the recordset is empty, this is still an instance of the class, so the @property methods are called. As this type of method is usually run on a single record, they need self.ensure_one(), which crashes when evaluated on a recordset, preventing the server to start when queue_job is installed. Getting the attributes on the class itself instead of using an empty recordset avoids evaluating property methods. This reverts commit 49d8f37b8.
1 of 1 new or added line in 1 file covered. (100.0%)
922 of 1180 relevant lines covered (78.14%)
1.56 hits per line