Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5027 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Autore

with store=True?

Post correlati Risposte Visualizzazioni Attività
0
nov 16
3498
4
set 24
21277
4
gen 24
13960
4
dic 24
30785
5
giu 21
23535