• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OCA / queue / 122
80%
10.0: 78%

Build:
Build:
LAST BUILD BRANCH: 12.0
DEFAULT BRANCH: 10.0
Ran 06 Feb 2018 03:37PM UTC
Jobs 2
Files 11
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
122

Pull #50

travis-ci

web-flow
[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.
Pull Request #50: [FIX] Get attributes on the class instead of recordsets

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

Coverage Regressions

Lines Coverage ∆ File
1
100.0
queue_job/fields.py
Jobs
ID Job ID Ran Files Coverage
3 122.3 (TESTS="1" ODOO_REPO="OCA/OCB") 06 Feb 2018 03:37PM UTC 0
78.14
Travis Job 122.3
4 122.4 (TESTS="1" ODOO_REPO="odoo/odoo") 06 Feb 2018 03:38PM UTC 0
78.14
Travis Job 122.4
Source Files on build 122
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #122
  • Pull Request #50
  • PR Base - 11.0 (#120)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc