Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
6098 มุมมอง

HI friends,

Can anyone help me in knowing, where are the property fields stored in Postgres Database. I want to use the data existing in the property field. But, No where I can see that field is stored in DB.

I want to use the values in "property_cost_method" field in "product_category" model.

Thanks.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

check ir_property  table 

อวตาร
ละทิ้ง

It may happens that there is no record in ir_property. As I understand, each time a property is updated, Odoo first deletes the record, and then recreates it only if the value is not the default one.

ผู้เขียน คำตอบที่ดีที่สุด

Hi Prakash Sharma,

Thanks for your interest . I have three values in property_cost_method field : 'Average price', 'Standard price', 'Real price' of "product_category" model . I checked in ir_property  table for these values, but I din't find any of these values.

Can you guide me where are these values stored in DB.

Thanks.

อวตาร
ละทิ้ง

How to import data into property field in multiple companies at the same time. Like; I want to set stock input account on 100 product categories for 5 companies where each company has a different account for stock input field.