تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
5421 أدوات العرض

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
أبريل 23
6711
3
أبريل 17
12004
1
مايو 16
9595
0
مايو 16
3727
1
أبريل 16
10003