Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5045 Visualizações

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 .


Avatar
Cancelar
Melhor resposta

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/


 


Avatar
Cancelar
Autor

with store=True?

Publicações relacionadas Respostas Visualizações Atividade
0
nov. 16
3517
4
set. 24
21292
4
jan. 24
13974
4
dez. 24
30796
5
jun. 21
23554