Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
1354 Prikazi

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
Opusti
Best Answer

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
Opusti
Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jul. 25
1313
2
jul. 25
232
2
jul. 25
1016
4
jul. 25
851
1
jul. 25
111