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/
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te| Related Posts | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
0
nov. 16
|
4447 | |||
|
How does Odoo store One2Many fields?
Rezolvat
|
4
sept. 24
|
22351 | ||
|
4
ian. 24
|
14972 | |||
|
4
dec. 24
|
32268 | |||
|
5
iun. 21
|
25406 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.