コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5059 ビュー

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
3529
4
9月 24
21304
4
1月 24
13986
4
12月 24
30813
5
6月 21
23575