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 .
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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/
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
0
nov. 16
|
4409 | |||
|
How does Odoo store One2Many fields?
Resolvido
|
4
set. 24
|
22285 | ||
|
4
jan. 24
|
14886 | |||
|
4
dez. 24
|
32184 | |||
|
5
jun. 21
|
25291 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.