Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2478 มุมมอง

I can't install new Module with compute field in a big database, it always stopped in the middle of installing.
I am on odoo.sh environement.

From module point of view, is there any way to queue this kind of compute field calculation?

อวตาร
ละทิ้ง

Hello Randy. Have you figured out a solutions for this? I have the exact same problem in a huge database. :/

คำตอบที่ดีที่สุด

Hi There are preinit hooks which you can use to setup fields in the db an example of that would be in odoo mrp module

https://github.com/odoo/odoo/blob/a7f7233e0eae8ee101d745a9813cba930fd03dcb/addons/mrp/__init__.py#L13 

อวตาร
ละทิ้ง