diff options
| author | Aaron Bohy <aab@odoo.com> | 2019-03-13 11:26:43 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-04-02 11:55:57 +0000 |
| commit | 55676110c8787dfafd34a6508b207952f5c5eb88 (patch) | |
| tree | 36e4816c38c73beb13e64d042a19fc0906499a3e /doc/reference | |
| parent | 7024f8d58bb279c800818955979ab73f1ee7b612 (diff) | |
[IMP] web: list: import attrs
The 'import' attrs is valid according to the rng definition of the
list view. It is used in a few views in Odoo. However, it didn't
actually work (in most cases, it worked by chance because it is
set to "0" in addition to create="0", and create="0" already
disables the import feature).
With this ref, the 'import' attrs is taken into account and we
can now disable the import feature even if the create one is
enabled. Moreover, it is now documented.
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/views.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst index 746c5e48b32..68d024e47db 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -216,7 +216,7 @@ root can have the following attributes: (``font-style: italic``), or any `bootstrap contextual color <https://getbootstrap.com/docs/3.3/components/#available-variations>`_ (``danger``, ``info``, ``muted``, ``primary``, ``success`` or ``warning``). -``create``, ``edit``, ``delete``, ``duplicate`` +``create``, ``edit``, ``delete``, ``duplicate``, ``import`` allows *dis*\ abling the corresponding action in the view by setting the corresponding attribute to ``false`` ``limit`` |
