تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
1319 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 25
189
1
يوليو 25
329
0
يوليو 25
343
1
يونيو 25
397
1
يونيو 25
382