diff options
| author | Xavier Morel <xmo@odoo.com> | 2018-10-31 16:21:18 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2019-01-29 10:22:17 +0000 |
| commit | 9db74611ded3dcb64fc57724c032b44d9d170fae (patch) | |
| tree | e63a92c2fe4a170688b0adaaf4d8b8d86316fc35 /addons/hr_expense/data/mail_data.xml | |
| parent | 42fbee83ad2f3f33188cf27a1449b8875c2d8a2a (diff) | |
[IMP] web: action links from bits & pieces
Before this, the action manager only supported auto-triggering actions
from (model, method) or (action_name).
This adds support for providing all the action details via data
attributes:
* model (defaults to current action's)
* resid (defaults to none)
* views (defaults to list, form, unless resid is specified then
defaults to just form)
* domain (defaults to [])
* context (defaults to {active_id, active_ids, active_model} from
current action if the model has not changed, empty otherwise)
The action's name/title is either the link's title (?) or its textual
content.
Diffstat (limited to 'addons/hr_expense/data/mail_data.xml')
0 files changed, 0 insertions, 0 deletions
