Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5035 Zobrazení

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 .


Avatar
Zrušit
Nejlepší odpověď

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/


 


Avatar
Zrušit
Autor

with store=True?

Related Posts Odpovědi Zobrazení Aktivita
0
lis 16
3502
4
zář 24
21278
4
led 24
13963
4
pro 24
30789
5
čvn 21
23540