Drill-Down Links

Updated 10 July 2026

Jump from a report row to related records-order lines, child contacts, products, stock-using domain templates and placeholders.

Overview

Drills (advance.report.drill) let users open another Odoo model filtered by values from the current source row. For example, from a sales order row open order lines, or from a contact open child contacts sharing the same parent.

Each drill has a Label (what users see), a Target model, and a Domain template containing placeholders like {id} or {partner_id} filled from the source record’s technical field names.

How it works

At runtime, the module reads the source record on the template model, substitutes placeholders into the domain template, evaluates with safe_eval, and opens a window action on the target model. Placeholders must use field names from the source model, not the target.

Managers test drills via Run drill on the drill line (opens a small wizard) or from the app menu Advance Report Studio → Run drill by choosing drill and entering a Source record ID.

Only users who may edit templates should define drills-the same trust level as writing domains.

Step-by-step

Drill fields reference

Field explanations

Each block matches one row in the table above, in the same order.

Tips

Common mistakes

Image

Drill-Down Links