← Back to team overview

openerp-community team mailing list archive

Re: update new module list

 

1. Add the addons path in the configuration file that you are loading
2. Restart the server using that configuration file
3. Make sure that the addons path you added contains the actual modules
inside (in some cases you add a addons path that contains a directory
inside and inside that directory the actual modules, such cases will not
work and you need to provide the path to where the modules are located)
4. Update module list
5. Go to Installed Modules (for V7) and remove the installed filter i.e
make sure you are not looking in Updates

-u all would just reload all installed modules and update .xml files this
takes a lot of time and does not help in this sitiuation in this situation

Regards,
Paul


On Mon, May 5, 2014 at 7:27 PM, Alejandro Santana <
alejandrosantana@xxxxxxxxx> wrote:

> Weird. Usually, when modifying .xml (like views) you need to reload the
> server with the "--update=all" option (nothing about uninstall, unless you
> break database). For .py usually reloading the server is enough.
>
> When reloading the server with the "--update=all" option, it writes to a
> log the result of loading modules. Do you find any error in the log file?
>
>
> --
>   Alejandro Santana
>  alejandrosantana@xxxxxxxxx
>
> <alejandrosantana@xxxxxxxxx>
>  ~
>  ANUBÍA, soluciones en la nube, S.L.
> www.anubia.es
>
> <http://www.anubia.es/>
> Plaza Fernando Conde Montero Ríos, 9
>  36201, Vigo (Pontevedra)
>
>
>
> 2014-05-05 16:22 GMT+02:00 loïc Lauréote <laureote-loic@xxxxxxxxxx>:
>
> Thanks Alejandro,
>> I tried your "--update=all", I'm not sure it works all the times,
>> a log message of new modules installed in the terminal or somewhere would
>> be usefull.
>>
>> It's weird because when you modify an XML file, you need to uninstall and
>> reinstall, but with a .py you need to do different way.... :/
>>
>>
>> Other question, maybe something to put somewhere in another thread,
>> Their is no rollback system when a module installation goes bad. When a
>> module install broke something, it's impossible
>> to clean the environment. I don't want to develop something before to be
>> sure, i do thing the good way.
>>
>> thks !
>>
>>
>> Loïc  Lauréote
>>
>>
>> ------------------------------
>> From: alejandrosantana@xxxxxxxxx
>> Date: Mon, 5 May 2014 12:13:35 +0200
>> Subject: Re: [Openerp-community] update new module list
>> To: laureote-loic@xxxxxxxxxx
>> CC: openerp-community@xxxxxxxxxxxxxxxxxxx
>>
>>
>> Hello, Lauréote.
>>
>> Have you tried launching OpenERP server with '*--update=all*' option?
>>
>>
>> --
>>   Alejandro Santana
>>  alejandrosantana@xxxxxxxxx
>>
>> <alejandrosantana@xxxxxxxxx>
>>  ~
>>  ANUBÍA, soluciones en la nube, S.L.
>> www.anubia.es
>>
>> <http://www.anubia.es/>
>> Plaza Fernando Conde Montero Ríos, 9
>>  36201, Vigo (Pontevedra)
>>
>>
>>
>> 2014-05-05 12:07 GMT+02:00 loïc Lauréote <laureote-loic@xxxxxxxxxx>:
>>
>>
>> Hello,
>>
>> I develop modules on openerp and i have a problem to update the module
>> list of  openerp.
>> Now i add my new modules  in addons and the problem is  when i reload the
>> server the module doesn't
>> appear at the fisrt try.
>>
>>
>> Is there an easy efficience way to update the list of new modules ?
>>
>>
>>
>> Thanks you  !
>>
>>
>> Lauréote Loïc
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openerp-community
>> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openerp-community
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References