Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5216 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
3638
4
Sep 24
21463
4
Jan 24
14158
4
Des 24
31053
5
Jun 21
23925