Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1306 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 25
115
1
jul 25
237
0
jul 25
304
1
jun 25
314
1
jun 25
341