Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5247 Prikazi

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
Opusti
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
Opusti
Avtor

with store=True?

Related Posts Odgovori Prikazi Aktivnost
0
nov. 16
3685
4
sep. 24
21504
4
jan. 24
14197
4
dec. 24
31131
5
jun. 21
24045