Skip to Content
Menú
This question has been flagged
4 Respostes
23557 Vistes

Hi all,

I just downloaded the latest distribution of odoo 11 for windows (both in exe or zip format) and I can't find the odoo-bin.exe.

It seems that with this version only a sh script calling the .py is available.

This is a problem as it doesn't allow to create modules like we use to with odoo-bin scaffold.

Any clue to where or when it will be available or how to do it with the current distribution?


Erik

Avatar
Descartar
Autor Best Answer

Hi All,


here is the answer to my question as stated by d-fence on the github website.

odoo-bin.exe was removed on purpose and is not supposed to come back in the near future.

To use scaffolding for this version here is the command line:

"c:\Program Files (x86)\Odoo 11.0\python\python.exe" "c:\Program Files (x86)\Odoo 11.0\server\odoo-bin" scaffold module directory

Avatar
Descartar
Best Answer

Hello, Erik. What kind of IDE is used by you? Pycharm, VS Code, Intellij?

Avatar
Descartar
Best Answer


Avatar
Descartar
Best Answer

Thank you Erik for your answer it works excellent

here i will make the answer more details

i am working on odoo v 11.0 source code


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

Avatar
Descartar