Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5030 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
3498
4
Sep 24
21277
4
Jan 24
13961
4
Des 24
30787
5
Jun 21
23535