Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1332 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
109
1
thg 7 25
181
2
thg 7 25
161
1
thg 7 25
258
1
thg 7 25
423