跳至内容
菜单
此问题已终结
1 回复
5052 查看

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 .


形象
丢弃
最佳答案

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/


 


形象
丢弃
编写者

with store=True?

相关帖文 回复 查看 活动
0
11月 16
3523
4
9月 24
21300
4
1月 24
13980
4
12月 24
30801
5
6月 21
23566