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

Hi All,

I'm using OpenERP-7 in one of my projects and using the ORM feature accessing records from different tables. After investigating the existing codes and going through different forums over web, I came to know that for using ORM object, i.e., to instantiate any model/table for accessing records, using filters, for several operations, we need the cr (cursor) .

Also in some forums it is mentioned that even if we don't have the cursor we can do it by some connection object which requires db_name or req parameter.

Now in my case, I'm not getting the cr or the req and also even the db_name is giving False as I'm using multiple databases for OpenERP.

I'm very curious to know that is there any other way by which I can instantiate ORM objects and access any record of any table/model.

Any help would be appreciated :)

Please help me. I'm waiting for your replies.

Cheers

ASP :)

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.ย. 19
98
1
ก.ค. 17
4349
4
ส.ค. 16
8536
1
พ.ค. 16
5168
1
มี.ค. 16
5205