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/
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
0
พ.ย. 16
|
4452 | |||
|
How does Odoo store One2Many fields?
แก้ไขแล้ว
|
4
ก.ย. 24
|
22368 | ||
|
4
ม.ค. 24
|
14984 | |||
|
4
ธ.ค. 24
|
32284 | |||
|
5
มิ.ย. 21
|
25422 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.