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

OCA / report-print-send / 570 / 3
100%
9.0: 79%

Build:
Build:
LAST BUILD BRANCH: 12.0-mig-base_report_to_printer
DEFAULT BRANCH: 9.0
Ran 11 Jan 2018 01:25PM UTC
Files 17
Run time 1s
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

11 Jan 2018 01:19PM UTC coverage: 100.0%. Remained the same
TESTS="1" ODOO_REPO="odoo/odoo"

push

travis-ci

pedrobaeza
[FIX] base_report_to_printer: Stateless tests (#122)

If the test was run in a database with the `account` module installed, they were failing for 2 reasons:

- It was searching for the first report it could find, with the first 5 records to report. This made it load the `account.report_agedpartnerbalance` report, which caused a fake `TypeError: 'NoneType' object has no attribute '__getitem__'` error.
- It was running tests without loading the full module graph, thus not getting the default value for the new required `invoice_warn` field.

Now tests are run in `post_install` mode to load full module graph, and they use stateless data.

523 of 523 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 570.3 (TESTS="1" ODOO_REPO="odoo/odoo")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 570
  • Travis Job 570.3
  • 8b5c4f3f on github
  • Prev Job for TESTS="1" ODOO_REPO="odoo/odoo" on 10.0 (#564.3)
  • Next Job for TESTS="1" ODOO_REPO="odoo/odoo" on 10.0 (#578.3)
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