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

In previous versions of Odoo, the standard_price was stored as an ir.property. However, in Odoo 18, I can see the field in product.product, but it always returns 0.00.

Does anyone know where this field is now managed or stored? I use it frequently for production-related calculations.

I generate reports using SQL queries, not the ORM, so solutions based on the ORM won’t be very useful for my case.

Any insights would be greatly appreciated!

الصورة الرمزية
إهمال
أفضل إجابة

The values of company-dependent fields are now stored in a JSON column on the record instead of separately via the ir.property model.

The standard_price field is still where we store the price, but the JSON value is a dict {company_id: value} mapping company ids to the field's value.

This represents a price of $1.23 for company 1.

See https://github.com/odoo/odoo/pull/175627

The Company Properties Menu has been removed, since the ir.property model is no longer part of Odoo 18.0


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 25
169
0
أغسطس 25
281
1
أغسطس 25
681
1
أغسطس 25
529
4
يوليو 25
1887