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

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
3658
4
сент. 24
21477
4
янв. 24
14173
4
дек. 24
31074
5
июн. 21
23949