Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3262 Представления

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.

Аватар
Отменить
Лучший ответ
?#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 !!

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
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
2
авг. 25
2421
1
июл. 25
916
1
авг. 25
1151
0
мая 25
1347
2
апр. 25
3569