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/
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
0
Nov 16
|
4597 | |||
|
How does Odoo store One2Many fields?
Diselesaikan
|
4
Sep 24
|
22575 | ||
|
Can I store field function with the type one2many?
Diselesaikan
|
4
Jan 24
|
15103 | ||
|
delete fields from database without uninstall?
Diselesaikan
|
4
Des 24
|
32526 | ||
|
how to make a DIRECT link to the database
Diselesaikan
|
5
Jun 21
|
25705 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.