Drag this onto your bookmarks bar. Or click it now to try it on this page: point at anything, click, and the pack is on your clipboard (Esc stops it). Build 24db6c1: every pick ends with "lens build: 24db6c1", another code there is an old bookmark.
Three steps
- Drag Odoo Lens onto your bookmarks bar.
- Open any Odoo 17 to 20 page, backend, portal or website, and click the bookmark. It works on other pages too; Odoo pages give the most (the view, the template, the field).
- Point at the element and click: the context pack is on your clipboard. Paste it into your agent's chat.
Everything it does
Once it runs, a small card on the page lists these too.
- Point
- A box follows the pointer and a label names the element, its component and, on a field, the field.
- Click
- Copies the short pick: the element, its component, the view and template behind it, an xpath, and the action, record, active filters, menu path, button, tab and group it sits in.
- Shift + click
- Copies the full pick: the CSS rules, the styles and the HTML as well.
- Alt + click
- Copies only the xpath, for a view inheritance (Option + click on a Mac).
- Ctrl + click
- Copies only the technical name of what you point at: a
field (
partner_id), a button (action_confirm, or the action's xml id), a statusbar key, a tab, a group, a menu, a filter, a group-by field, the view anywhere else on a form (sale.view_order_form) or a kanban card's record (sale.order,42). Cmd + click on a Mac. - Esc
- Stops the picker without copying. Clicking the bookmark again stops it too.
What it copies
A real pack, from the New button of the Users list on Odoo 20 (first lines, shortened where they end with ...):
[odoo-agent pick] Odoo 20.0, OWL 3.0.0-alpha.50: backend list of res.users, action base.action_res_users url: .../odoo/users kind: backend action: base.action_res_users model: res.users view: list (id 169) element: <button> .btn.btn-primary.o_list_button_add "New" components (inner < outer): ControlPanel (web.ControlPanel) < Layout (web.Layout) < ListController (web.ListView) < ... path: body.o_web_client > div.o_action_manager > div.o_list_view.o_view_controller > div.o_control_panel > ... > button.o_list_button_add anchor: button.o_list_button_add css rules: 3 of 9 matched rules shown ... .btn-primary { --btn-color: #FFFFFF; --btn-bg: #71639e; --btn-border-color: #71639e; ... } (web.assets_web)
With odoo-agent installed, your agent turns the pack into the source file and line, a
tested inheritance xpath and the style file to change: odoo-agent pick.
The rest of odoo-agent turns what you point at into the exact code to change.
Set it up

Odoo Lens