Skip to Content
Menu
This question has been flagged

I have those two fields:

class gio_stock_quant(osv.osv):

_inherit = ['stock.quant']


_columns = {

'actualpp': fields.function(_calc_inventory_value_testn, string="Einzel Preis", type='float', readonly=True), 'sumaactualp': fields.function(_calc_inventory_value_test, string="Gesamtpreis", type='float', readonly=True)

}

How can I store that in the database? My problem is , everytime I uninstall the modul, and reinstall. I lose all my values in those fields.

Avatar
Discard
Related Posts Replies Views Activity
1
Dec 16
4869
4
Sep 24
21051
4
Dec 24
30408
5
Jun 21
23245
3
Mar 20
42434