How to pass active_id from tree button to action window? (Odoo 12)
A tree view of many2many field has buttons in its rows:
<button name="%(task_form_action)d" string="смотреть" type="action"/>
Button calls for an action:
<record model="ir.actions.act_window" id="task_form_action">
<field name="view_id" ref="tasks_form_view"/>
What have I put into action's "res_id" field to open the existing record's form window?
(Not for creating a new one!!)
When I put an integer, the window for record with such an id opens.
But how can I eval active_id from row which the button is located in?