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

OCA / server-tools / 4121 / 4
79%
9.0: 86%

Build:
Build:
LAST BUILD BRANCH: 13_add_base_changeset
DEFAULT BRANCH: 9.0
Ran 20 Jul 2017 07:33AM UTC
Files 89
Run time 3s
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

20 Jul 2017 07:28AM UTC coverage: 79.696% (+0.4%) from 79.343%
TESTS="1" ODOO_REPO="OCA/OCB"

push

travis-ci

Yajo
[ADD] module_auto_update: Create module (#882)

* [IMP] module_auto_update: Create new module
* Add checksum_dir and checksum_installed fields to ir.module.module
  * Add checksum_dir to compute current checksum of module directory
    in addons path
  * Add checksum_installed to store checksum of module directory
    when module was last installed or upgraded
* Use checksumdir Python library to compute module directory sha1
  hashes, ignoring pyc and pyo extensions
* Extend update_list method to compare modules' checksum_dir and
  checksum_installed, then change state of modules with differing
  checksums to 'to upgrade'
* Replace Apps/Updates menu item with menu item of same name, which
  updates apps list and displays tree view of ir.module.module
  records with state 'to upgrade'
* Extend create and write methods to store computed checksum_dir as
  checksum_installed during module installation and upgrade, and
  set checksum_installed to False on uninstall
* Use context to stop checksum_installed from being updated during
  upgrade/uninstall cancellation
* Add cron job to periodically check for module upgrades by
  comparing checksums, then perform any available upgrades
* Extend upgrade_module method (called by cron and 'Apply Scheduled
  Upgrades' menu item) to call update_list
* Add post_init_hook to store checksum_installed of existing
  modules
* Add test coverage

* [FIX] module_auto_update: Fix test broken by changes
* Use dummy module to test update_list method instead of
  module_auto_update

2567 of 3221 relevant lines covered (79.7%)

0.8 hits per line

Source Files on job 4121.4 (TESTS="1" ODOO_REPO="OCA/OCB")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4121
  • Travis Job 4121.4
  • c62a7440 on github
  • Prev Job for TESTS="1" ODOO_REPO="OCA/OCB" on 10.0 (#4110.4)
  • Next Job for TESTS="1" ODOO_REPO="OCA/OCB" on 10.0 (#4124.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