diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-01-30 17:12:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-30 17:12:20 +0100 |
| commit | c075711c9c4122fb87645aa39712c695af89ba8a (patch) | |
| tree | b5ae3f55c4c8d0983e645fc52e07ae6a4228e649 /addons/hr_expense/data/mail_data.xml | |
| parent | bf4a8b3de81783cf2da1145a618e97c18f780719 (diff) | |
| parent | f5438289bdaa5b3fb6940fc0268c046dbf448efb (diff) | |
[ADD] qweb view
Currently, non-trivial client interface customisations generally *have*
to go through client actions (a limited amount can use complex HTML in
the form, but it's not that common). This can require a significant
amount of messing around with JS code, and doesn't integrate well with
the rest of the system (primarily due to the loss of the control panel /
search view).
This change re-uses the existing `ir.ui.view[type=qweb]` as actual views
(bound to a model) to provide for flexible views rendered synchronously
server-side without needing javascript development. A few dynamic
behaviours are also provided (on top of bootstrap's which should be
usable out of the box):
* an extension of `a[type="action"]` which allows for more detailed
crafting of the action (not just accessing an action by id and by model,
method)
* a new `a[type="toggle"]` which provides lazy loading of sub-items
(currently by calling a method which returns HTML to insert after the
loading anchor)
* simple fold/unfold (without lazy loading) can be performed through
bootstrap
closes odoo/odoo#28716
Diffstat (limited to 'addons/hr_expense/data/mail_data.xml')
0 files changed, 0 insertions, 0 deletions
