diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-08-09 14:50:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-09 14:50:29 +0200 |
| commit | c20cb62f498772e678387b0ea02594374acdaa56 (patch) | |
| tree | 4e01341a327292e6b9a1566b89acb924ac4aa593 /doc/reference/javascript_reference.rst | |
| parent | d5d2f5014a9bcf7014901b7099839e1f63ae4d57 (diff) | |
| parent | 25ebd80b40d52d8e6c59f264179dba35753f69da (diff) | |
[IMP] *: M2X search/add popup should display a kanban instead of a list in mobile
- Add support of "kanban_view_ref" on many2x fields:
For many2one fields, this specific kanban view will be opened when you click
on this field. Note that in desktop, the behavior stay unchanged:
'Search More' will open the tree view.
For many2many fields, this specific kanban view will be opened when you add
a record in mobile.
- Add support "selection_mode" in kanban views.
This boolean is set to true when you want to use a kaban view to
select a record instead of open a record.
"selection_mode" is now passed in qweb_context to allow developers
to use t-if='selection_mode' in kanban views to show or hide elements;
buttons, dropdowns, anchor tags are not necessary when selection_mode
is enabled. So those elements can be hidden based on this condition.
Useful when kanban view is opened from m2o in mobile environment.
Task ID : 1924779
closes odoo/odoo#30747
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
