Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
5103 Visninger

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
Kassér
Bedste svar

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
Kassér
Forfatter

with store=True?

Related Posts Besvarelser Visninger Aktivitet
0
nov. 16
3567
4
sep. 24
21366
4
jan. 24
14035
4
dec. 24
30888
5
jun. 21
23693