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

Hello,


I develop a module that add a stored compute field on a product_template entity.

In my customer Odoo production instance there are more than 10000 product. All that product will be update by my module due to the new store compute field.

When I try to install the module I always got an error about the hard memory reached. Even with a hard memory limit of 20 Go the module is not installed.

How can I do?


Regards

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Before installing the module you can comment out those compute fields and installed the module. After installing you can corn job for run compute function to update all the product.

อวตาร
ละทิ้ง

Hi Legends ,
Good Idea, is it not recommended to cut the server and update the module? or it is always to run a cron job?
Because i have always managed the server by myself.
Thanks in advance

No stopping server is not professional. Why do you wanna stop in the midst of users making an entry in Production DB. I go with cron eventually

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ม.ค. 25
1371
Odoo 13 - Computed Fields - ORM changes? แก้ไขแล้ว
1
ก.พ. 23
9415
4
ส.ค. 22
31146
0
ก.ค. 25
847
1
ก.ค. 25
693