Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 16
5607
4
wrz 24
21976
4
gru 24
31772
5
cze 21
24795
3
mar 20
43733