Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5038 Представления

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
3508
4
сент. 24
21280
4
янв. 24
13964
4
дек. 24
30790
5
июн. 21
23542