Skip to Content
Menu
This question has been flagged
1 Atsakyti
5190 Rodiniai

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 .


Portretas
Atmesti
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/


 


Portretas
Atmesti
Autorius

with store=True?

Related Posts Replies Rodiniai Veikla
0
lapkr. 16
3616
4
rugs. 24
21437
4
saus. 24
14131
4
gruod. 24
30974
5
birž. 21
23854