Skip to Content
मेन्यू
This question has been flagged

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
Discard
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/


 


Avatar
Discard
Author

with store=True?

Related Posts Replies Views Activity
0
नव॰ 16
3499
4
सित॰ 24
21277
4
जन॰ 24
13961
4
दिस॰ 24
30787
5
जून 21
23536