Skip to Content
Menú
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
Descartar
Related Posts Respostes Vistes Activitat
1
de des. 16
5060
4
de set. 24
21304
4
de des. 24
30813
5
de juny 21
23576
3
de març 20
42856