跳至內容
選單
此問題已被標幟
1 回覆
5420 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
4月 23
6711
3
4月 17
12004
1
5月 16
9595
0
5月 16
3727
1
4月 16
10003