Odoo Help

4

what does get_object_reference function do?

By
Maniganda
on 6/26/13, 10:07 AM 6,184 views

I need an explanation for the get_object_reference function

6
nazarii
On 6/26/13, 6:22 PM

From the method docstring:

Returns the id of the ir.model.data record corresponding to a given module and xml_id (cached) or raise a ValueError if not found

In other words, it will get id of record, imported to database from xml.

thank you for your clear explanation

Maniganda
on 6/27/13, 1:47 AM
0
Muhammad
On 5/28/15, 11:58 PM

Hello Maniganda, Nazarii, 

What is the difference between get_object and get_object_reference?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 6/26/13, 10:07 AM
Seen: 6184 times
Last updated: 5/28/15, 11:58 PM