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

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
5079
4
9月 24
21335
4
12月 24
30853
5
6月 21
23646
3
3月 20
42911