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

OCA / report-print-send / 570
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
Jobs 2
Files 17
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
570

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%)

2.0 hits per line

Jobs
ID Job ID Ran Files Coverage
3 570.3 (TESTS="1" ODOO_REPO="odoo/odoo") 11 Jan 2018 01:25PM UTC 0
100.0
Travis Job 570.3
4 570.4 (TESTS="1" ODOO_REPO="OCA/OCB") 11 Jan 2018 01:27PM UTC 0
100.0
Travis Job 570.4
Source Files on build 570
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #570
  • 8b5c4f3f on github
  • Prev Build on 10.0 (#564)
  • Next Build on 10.0 (#578)
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