Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5026 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur

with store=True?

Gerelateerde posts Antwoorden Weergaven Activiteit
0
nov. 16
3497
4
sep. 24
21275
4
jan. 24
13955
4
dec. 24
30785
5
jun. 21
23531