Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4076 Vizualizări

Hi all,

OS: Windows 10

IDE: PyCharm

Odoo Installation: Odoo 14 Enterprise Windows (Package)

I have configured the Python Interpeter of the Project to be the that comes with the installation under /Python/python.exe.

The run configuration executes the odoo-bin file with the parameters in the odoo.conf file.


However, when I run or stop odoo-bin with this configuration the "odoo-server-14.0" service is not affected. I can manually restart it for the changes to apply but I would like this to happen automatically from Pycharm.


Best Regards,

Alvaro.

Imagine profil
Abandonează

I do not want to create new thread as I have similar problem with PyCharm.


I have configured PyCharm and it launches Odoo Server. On the other hand sometimes, when I kill session service is working anyway, what is very strange. I need to manually kill process what in Windows is time consuming.

Example:

I can start server so that I use localhost:8077 (just example), then I can stop server in PyCharm, I can close PyCharm and still in browser I can reach Odoo under  localhost:8077. The real problem starts when I want to re-start server, becuase I stop getting logs in PyCharm.

So the question is - why this happens? why pycharm is not killing process?

I will be geratfull for any ideas.

Regards, 

Piotr


By mistake I have deleted Your answer :/

Restarting/ killing from TaskManager is always an option but not the one You as a developer want to. I need to have my IDE to work in predictible manner. Here, sometimes I got expected result and sometimes not, and this is very confusing.

Autor Cel mai bun răspuns

I've found out from experience that "saving in pycharm -> restarting in Pycharm -> restarting in taskmanager -> updating app in odoo if necessary " if quite a reliable way of doing it. However i hope you can make it work directly from Pycharm.

Have you done the configurations for the script path and the python interpreter in your ide ?


Best Regards

Imagine profil
Abandonează
Cel mai bun răspuns

Use sublime ;)

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 20
8605
0
aug. 25
6
0
aug. 25
3
0
iul. 25
2
2
mai 25
1856