Skip to content
Permalink
Browse files

[DOC] views : column_invisible info

  • Loading branch information...
Feyensv committed Apr 23, 2019
1 parent e755774 commit ed0cc9bbe66b52f7aea585d8175823544bc4121a
Showing with 9 additions and 0 deletions.
  1. +9 −0 doc/reference/views.rst
@@ -914,6 +914,15 @@ Possible children elements of the list view are:
:ref:`form view <reference/views/form>` is also valid and will
be used when setting up the inline form view

.. note::
In case of list sub-views (One2many/Many2many display in a form view),
The attribute ``column_invisible`` can be useful to hide a column
depending on the parent object

.. code-block:: xml
<field name="product_is_late" attrs="{'column_invisible': [('parent.has_late_products', '=', False)]}"/>
``control``
defines custom controls for the current view.

0 comments on commit ed0cc9b

Please sign in to comment.
You can’t perform that action at this time.