Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5037 Vizualizări

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 .


Imagine profil
Abandonează
Cel mai bun răspuns

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/


 


Imagine profil
Abandonează
Autor

with store=True?

Related Posts Răspunsuri Vizualizări Activitate
0
nov. 16
3508
4
sept. 24
21280
4
ian. 24
13964
4
dec. 24
30789
5
iun. 21
23541