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
5031 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
3498
4
wrz 24
21277
4
sty 24
13961
4
gru 24
30787
5
cze 21
23536