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

OCA / queue / 122 / 4
80%
10.0: 78%

Build:
Build:
LAST BUILD BRANCH: 12.0
DEFAULT BRANCH: 10.0
Ran 06 Feb 2018 03:38PM UTC
Files 11
Run time 4s
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

06 Feb 2018 03:30PM UTC coverage: 78.136% (-0.2%) from 78.301%
TESTS="1" ODOO_REPO="odoo/odoo"

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

922 of 1180 relevant lines covered (78.14%)

0.78 hits per line

Source Files on job 122.4 (TESTS="1" ODOO_REPO="odoo/odoo")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 122
  • Travis Job 122.4
  • 7e9c6bc2 on github
  • Prev Job for TESTS="1" ODOO_REPO="odoo/odoo" on 11.0 (#120.4)
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