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

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 16
5039
4
zář 24
21280
4
pro 24
30792
5
čvn 21
23543
3
bře 20
42847