跳至內容
選單
此問題已被標幟
3519 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
12月 16
5047
4
9月 24
21295
4
12月 24
30796
5
6月 21
23559
3
3月 20
42852