Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5406 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis

with store=True?

Post Terkait Replies Tampilan Aktivitas
0
Nov 16
3878
4
Sep 24
21720
4
Jan 24
14347
4
Des 24
31439
5
Jun 21
24336