Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4941 Zobrazení

I did some changes on a model, adding some reports. But after updating the modul via odoo 'app' panel, there is no changes at all. Not even a 'print' button. Assuming my code isn't wrong (cause I checked everything), I wonder if it's indispensable to use odoo-bin -u [modul_name] command?

Extra question, can I upgrade a module without this command ?

Avatar
Zrušit
Nejlepší odpověď

Hi Daniel:

Both of them do the same thing. Make sure you follow the following steps while updating through the app:

  1. Restart Odoo after you have copied your changes into the addons or extra addons directory.

  2. Log into Odoo as an administrator user.

  3. Go to Settings > General Settings, and Activate the developer mode 

  4. Go to Apps and click on Update Apps List 

  5. Search for your custom module and install/upgrade it.

Avatar
Zrušit
Nejlepší odpověď

You can update module either user interface or using command in terminal.

Restart server is required in both cases, If python file any code added.

After restarting server, you can update module in user interface.

Or

Using command terminal update module, server stop and update module below command

./odoo-bin -u module_name -d database_name

can I upgrade a module without this command ?

Yes you can update the module without command. using user interface but restart odoo server is required.


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 24
841
1
čvn 20
3348
1
úno 23
2704
0
úno 21
1335
2
říj 20
6101