Odoo Help

1

Can anyone help me understand the meaning of the ID argument that I see in the Odoo URL?

By
Drees Far
on 3/3/16, 3:57 PM 693 views

hello!!

can anyone help me know what does the ID in the url mean??

And how can i get it please.

thanks a lot in advance.

Best Regards.

1
Ray Carnes
On 3/3/16, 9:44 PM
?#id=16&view_type=form&model=res.partner&menu_id=154&action=169

id = Database ID 16

view_type = form (show record 16 in a form view)

model = get the record from the res_partner table

?id=10&view_type=form&model=product.template&action=245&menu_id=452

id = Database ID 10

model = get the record from the product_template table

You can see the Database ID of every record in Odoo in Developer mode, with the View Metadata option.

@Ray Carnes i didnt get it because in the menu Employees/Employees for the first employee i have this id=2&view_type=form&model=hr.employee&menu_id=108&action=106 and the second id=3&view_type=form&model=hr.employee&menu_id=108&action=106 what does the id mean !!

Drees Far
on 3/4/16, 2:33 AM
Employee one is id=2 and Employee two is id=3

From: Drees Far
Sent: ‎3/‎3/‎2016 11:33 PM
To: Ray Carnes
Subject: Re: Re: Can anyone help me understand the meaning of the ID argumentthat I see in the Odoo URL?

@Ray Carnes i didnt get it because in the menu Employees/Employees for the first employee i have this id=2&view_type=form&model=hr.employee&menu_id=108&action=106 and the second id=3&view_type=form&model=hr.employee&menu_id=108&action=106 what does the id mean !!

--
Drees Far

Sent by Odoo S.A. using Odoo
Bista Solutions US, Ray Carnes
on 3/4/16, 3:00 AM
0
Samer Al-Sarhan
On 3/3/16, 6:07 PM

can you be more specifc . are you  talking about the controler and rout or some whare alse 

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

1 follower(s)

Stats

Asked: 3/3/16, 3:57 PM
Seen: 693 times
Last updated: 3/4/16, 12:46 AM