İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5041 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
3515
4
Eyl 24
21287
4
Oca 24
13972
4
Ara 24
30795
5
Haz 21
23548