コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
8854 ビュー

hi!

how can i use odoo cli to restart server and update a module?

when i use "./odoo-bin ... " it's show  me : '.' n'est pas reconnu en tant que commande interne.

i find the equivalentof this command: "odoo-bin scaffold Academy my-module "  here: 

{


To Create New Module

1-      Open windows command line “Run as administrator”

2-      Navigate to odoo directory

3-      First part will be the path of python.exe in “Double Quotations”

4-      Second Part will be the path of odoo-bin file in “Double Quotations”

5-     Third part will be the command scaffold

6-      Fourth part will be New Modul Name “Openacademy

7-      Fifth part will be the place to create the Directory “addons

E:\odoo-11.0>"E:\odoo-11.0\venv\Scripts\python.exe" "E:\odoo-11.0\odoo-bin" scaffold openacademy addons

NB: i get difficulty to paste the link of this content, so i put all the content of my search like above.

}

it allow me to create new module.

so whtat are others equivalents to restart server and update module?

also, i see this somewhere "odoo-bin.exe was removed on purpose and is not supposed to come back in the near future." 

So why still use this command on documentation (web site build documentation(odoo 12) for example)?


アバター
破棄

Odoo use in windows or ubuntu?

最善の回答

Hi Jonathan,

In windows you need to restart the Odoo service by going to the current running services itself. So basically, you can't restart or stop the Odoo service from command line. You can try using an IDE like PyCharm or editor like VSCode which supports debugging and running Odoo from the application itself.


アバター
破棄