Skip to Content
Menu
This question has been flagged
1 Odpoveď
5773 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
4283
4
sep 24
22163
4
jan 24
14781
4
dec 24
32028
5
jún 21
25100