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

Hello everyone,

i have related field "create_date" related with "stock_move_id", i need to use this field in search view so it must be stored in database,

i add Store=True to field definition and add force_save in xml view, but when i add store = True the field value not correct, when change it to store = false the value changed to correct one.

the field is related no computed

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Store related field:

using store = True in py + Using force_save="1" in xml

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
เม.ย. 23
6711
3
เม.ย. 17
12004
1
พ.ค. 16
9595
0
พ.ค. 16
3727
1
เม.ย. 16
10003