Ran
|
Files
11
|
Run time
4s
|
Badge
Embed ▾
README BADGES
|
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.
922 of 1180 relevant lines covered (78.14%)
0.78 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|