Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3499 Переглядів

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
5033
4
вер. 24
21277
4
груд. 24
30787
5
черв. 21
23538
Time field in odoo Вирішено
3
бер. 20
42844