IrModuleModule.rb

Path: lib/Helpers/IrModuleModule.rb
Last Update: Fri Mar 05 15:17:22 +0100 2010

OERPScenario, OpenERP Functional Tests Author Nicolas Bessi & Joel Grand-Guillaume 2009 Copyright Camptocamp SA

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 Afero of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.

Required files

pp   rubygems   ooor  

Methods

Public Class methods

Run the upgrade wizard in order to install the requiered modules. Does nothing if already installed Input :

 - modules : A [] of valid IrModuleModule instance

Return

 - True

Usage Example: res = IrModuleModule.install_modules(modules)

Run the upgrade wizard on all installed module, after the demo checkbox had beend ticked and the state set to ‘to upgrade’ on the base module. Does nothing if module are already with demo data Input :

 -

Return

 - True

Usage Example: res = IrModuleModule.load_demo_data_on_installed_modules()

Run the upgrade wizard on all modules Input :

 -

Return

 - True

Usage Example: res = IrModuleModule.update_needed_modules()

[Validate]