Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3229 Представления

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
дек. 16
4736
4
сент. 24
20898
4
дек. 24
30176
5
июн. 21
23073
3
мар. 20
42153