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/
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
0
11월 16
|
4469 | |||
|
4
9월 24
|
22398 | |||
|
4
1월 24
|
15001 | |||
|
4
12월 24
|
32317 | |||
|
5
6월 21
|
25472 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.