Skip to Content
Menu
This question has been flagged
3493 Rodiniai

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.

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
gruod. 16
5024
4
rugs. 24
21274
4
gruod. 24
30782
5
birž. 21
23521
3
kov. 20
42835