Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5203 Widoki

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 .


Awatar
Odrzuć
Najlepsza odpowiedź

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/


 


Awatar
Odrzuć
Autor

with store=True?

Powiązane posty Odpowiedzi Widoki Czynność
0
lis 16
3629
4
wrz 24
21459
4
sty 24
14150
4
gru 24
31038
5
cze 21
23900