Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5058 Переглядів

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?

Related Posts Відповіді Переглядів Дія
0
лист. 16
3528
4
вер. 24
21304
4
січ. 24
13984
4
груд. 24
30810
5
черв. 21
23569