|
Ran
|
Jobs
2
|
Files
11
|
Run time
1min
|
Badge
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.
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
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
100.0 |
queue_job/fields.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 3 | 122.3 (TESTS="1" ODOO_REPO="OCA/OCB") | 0 |
78.14 |
Travis Job 122.3 | |
| 4 | 122.4 (TESTS="1" ODOO_REPO="odoo/odoo") | 0 |
78.14 |
Travis Job 122.4 |