تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3507 أدوات العرض

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
ديسمبر 16
5037
4
سبتمبر 24
21280
4
ديسمبر 24
30789
5
يونيو 21
23541
Time field in odoo تم الحل
3
مارس 20
42847