Se rendre au contenu
Menu
Cette question a été signalée

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
Ignorer
Publications associées Réponses Vues Activité
1
déc. 16
5384
4
sept. 24
21679
4
déc. 24
31380
5
juin 21
24287
3
mars 20
43393