Skip to Content
Menú
This question has been flagged
1 Respondre
5040 Vistes

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
Descartar
Best Answer

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
Descartar
Autor

with store=True?

Related Posts Respostes Vistes Activitat
0
de nov. 16
3511
4
de set. 24
21282
4
de gen. 24
13965
4
de des. 24
30792
5
de juny 21
23544