← Back to team overview

openerp-community team mailing list archive

Re: renaming modules


The silly thing is that you need to uninstall the helper modules
manually anyway, so you might as well run the three required SQL queries
manually when you change the module name if you don't have a community
of users to support.

On 01-07-14 15:02, Davide Corio wrote:
> On 01 Jul 2014, at 09:27, Stefan <stefan@xxxxxxxx> wrote:
>> Hi Davide,
>> untested, but I think the following could work:
>> - Rename the module
>> - Create a module that renames the XML-id's owned by the old module and
>> set the new module state to 'to upgrade'.
>> - Recreate the old module without any logic or data, depending on the
>> migration module.
>> - Run update --all first to reload the list of modules. Run --update all
>> again to upgrade the new module.
>> - Uninstall the old module and the migration module manually.

Therp - Maatwerk in open ontwikkeling

Stefan Rijnhart - Ontwerp en implementatie

tel +31 (0) 614478606