İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5079 Görünümler

How can I store this value from this function in odoo database?

'sumaactualp': fields.function(_calc_inventory_value_test, string="Gesamtpreis", type='float'),


I mean when I uninstall the module, I lose all the values .


Avatar
Vazgeç
En İyi Yanıt

Hello,

You can use store property of function field. 

See below link for function field definition.

https://doc.odoo.com/6.0/developer/2_5_Objects_Fields_Methods/field_type/


 


Avatar
Vazgeç
Üretici

with store=True?

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Kas 16
3549
4
Eyl 24
21335
4
Oca 24
14010
4
Ara 24
30855
5
Haz 21
23647