Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
1328 Visualizzazioni

Hello, so  i'm developing Odoo v16 and following OdooMates(Thanks), i have multiple question and please bear with me if i ask an existing questions. 

1.) Do i really need to refresh my module each time I changes a python code?
2.) Do I need to open my pgAdmin 4 when I'm developing?

Avatar
Abbandona
Risposta migliore

Hello Emman,


I hope you're doing well.


1) Typically, you don't need to manually refresh or reload a module each time you make changes to your Python code within that module. Python includes built-in mechanisms to handle module reloading automatically in many cases. Nevertheless, there are certain scenarios where you may need to take action to ensure that your changes are reflected, such as long-running processes and caching.


2) Whether you need to open pgAdmin when you're developing depends on your specific development workflow and requirements. This includes tasks like database management, querying and debugging, backup and restore, and more.


I hope this information proves helpful to you.

Thanks & Regards,
Email: odoo@aktivsoftware.com 

Skype: kalpeshmaheshwari

Avatar
Abbandona
Risposta migliore

Hi Emman,

When you make changes to Python code, you'll need to restart the Odoo server for those changes to take effect. If you make changes to XML files, you should upgrade the module from the Apps menu to apply those changes. 
There's no need to open pgAdmin while developing.

Hope it helps,
Kiran K

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
lug 25
27
1
lug 25
144
2
lug 25
132
1
lug 25
252
1
lug 25
412