views in the self.pool.get

Asked by mm alam

Hi every one,

Is it possible in OpenERP to fetch the records in a view, using self.pool.get

I was able to load it, but other methods such as read and search were not working.

Am I wrong on some point?

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
JMA(Open ERP) (jma-openerp) said :
#1

Hello Masoom Alam,

You can only fetch the records from the object.

Views are only used to display the fields that have been defined in the related object of that class.

You can use the read, write and search method for a particular class object only.

I hope this helps.

Thank you.

Can you help with this problem?

Provide an answer of your own, or ask mm alam for more information if necessary.

To post a message you must log in.