mirror of
https://github.com/odoo/documentation.git
synced 2026-01-04 02:36:32 +07:00
[IMP] developer/../view_architectures: add multi_create_view option
This commit documents the new `multi_create_view` attribute of the calendar view. Part of task~4510549 closes odoo/documentation#12262 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
@@ -3387,6 +3387,22 @@ Their root element is ``<calendar>``. Available attributes on the root node are:
|
||||
:requirement: Optional
|
||||
:type: int
|
||||
|
||||
.. attribute:: multi_create_view
|
||||
:noindex:
|
||||
|
||||
Reference of a form view. When set, in **month** scale, allows to create (and
|
||||
delete) records in batches by clicking on calendar cells or by selecting an
|
||||
area of calendar cells. One record is then created for each selected cell and
|
||||
for each active filter's value, with the values of the multi create form view,
|
||||
which is displayed in the side panel. In delete mode, all records displayed
|
||||
in selected cells are deleted.
|
||||
|
||||
Note: if the side panel contains multiple filter sections, only the first one
|
||||
is used, to avoid a combinatorial explosion.
|
||||
|
||||
:requirement: Optional
|
||||
:type: str
|
||||
|
||||
.. include:: view_architectures/root_attribute_create.rst
|
||||
|
||||
.. include:: view_architectures/root_attribute_edit.rst
|
||||
|
||||
Reference in New Issue
Block a user