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

Hi,


I am currently working in an OpenERP (now handled by Bahmni via Odoo), and I want to update the company's address by using queries. 

I am not being able to locate the column  of the res_company model in the openerp database which is linked with the address of the company.


Can anyone suggest me where I can find the structure or model or any diagram which explains models or even better res_company model in particular.


KR,

Albi.

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

Hi,
Activate the developer mode and navigate to Settings -> Technical -> Database Structure -> Models and search and open your model, ie, res.company, then if you open it you can see the details regarding the model like field, access rights, record rules etc.



Non stored computed fields and related fields will not be there in the database table even though they show it in above screen.


Also you have option to connect odoo database frpm pg admin, for this see: Install PgAdmin Configure With Odoo Access, Visualize and Update Data



Thanks



อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thanks Niyas.
(can't reply on your comment since I am a new member)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 24
1347
Import Data From Another Model แก้ไขแล้ว
1
มี.ค. 24
2412
2
ก.ย. 23
7518
1
มิ.ย. 23
12429
2
มี.ค. 23
46563