Bzr Module Updater

by
Odoo
v 7.0 Third Party 193
Download for v 7.0
Availability
Odoo Online
Odoo.sh
On Premise
Technical Name addon_updater
LicenseAGPL-3
Websitehttp://www.ecosoft.co.th
Repositorylp:ecosoft-addons/7.0
You bought this module and need support? Click here!

Bazaar Module Updater

The reason for this add on is to better maintain the project that we are working on. Once the new/updated addon is available, administrator should know exactly what they are.

How user use this module will be different from normal upgrade procedure. We will use a work sheet in each time of upgrade. This will help keeping the history of upgrade along the way.

This will work for extra addon project, not core addon (web, addons, server)

This module has 2 windows

Menu: Addon Updater located in Setting > Module

  • Addon Projects -- is a master data for addon project configuration, i.e., path, launchpad url.
  • Addon Update Sheet -- is where each update will be execute. User will check what is changed in each project then select which module to upgrade.

Working Steps

Given we have an addon project registered launchpad, i.e., mycustom-addons. And that we have this in our addon path as we start OpenERP.

1) Register this project in "Addon Projects", i.e.,

  • Addon Project: mycustom-addons
  • Launchpad URL: https://launchpad.net/mycompany-openerp/mycustom-addons
  • Local Path: /tmp/mycustom-addons
  • Temp Backup Path: /tmp/mycustom-addons_backup
  • Production Path: /opt/openerp_production/mycustom-addons

2) Do the upgrade with Addon Update Sheet

Following is the step of execution,

  1. Create new Addon Update Sheet
  2. Select prjoect to work on and save it. If the local folder already have the project pulled last time, it will show current revision.
  3. Click [Check Updated Modules], this step will access launchpad and if new project, it will do the braching. Otherwise, it will just pull and update branch. Note that, this step can take very long time depend on size of addon project.
  4. Status will change from Draft to Checked, if there are updated or new addons, it will be listed in the table. At this step, everything occur in local folder not yet touch on projection folder.
  5. Select addons to upgrade then click [Send to Production]. All the selected addons will be send to production folder, with the backup in backup folder. OpenERP server will be restarted to recompile the code. Now it will be Ready.
  6. Once Ready, the Upgrade must be executed, otherwise, the code and the data in OpenERP may not be insynce and cause serious problem.
  7. If anything went wrong or decide not to upgrade, click [Revert] to set things back to previous working system.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.