Skip to Content
Menu
This question has been flagged
1 Odpoveď
5024 Zobrazenia

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
Zrušiť
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
Zrušiť
Autor

with store=True?

Related Posts Replies Zobrazenia Aktivita
0
nov 16
3494
4
sep 24
21274
4
jan 24
13955
4
dec 24
30782
5
jún 21
23522