Skip to Content
Menu
This question has been flagged
1 Atsakyti
5329 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
3778
4
rugs. 24
21605
4
saus. 24
14257
4
gruod. 24
31307
5
birž. 21
24241