summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-11-17 13:16:59 +0100
committerGéry Debongnie <ged@odoo.com>2017-11-20 11:05:41 +0100
commit5d1640edff14b465a1f83d9c09393738c48af882 (patch)
tree35f0df9b7e87d95a4f4ff2e70c080ac13ede9ed1 /doc/reference
parent5ba6d93810ba447f94ca2bb0d6804865a32b5cbf (diff)
[FIX] web: add support for limit attr in arch in sub tree view
Before this commit, the 'limit' attribtue worked properly for list views (but was not documented), and was ignored for inline tree views. There was no good reason for that limitation, so we fix this issue.
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/views.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst
index e2d83e767b0..ba79106c676 100644
--- a/doc/reference/views.rst
+++ b/doc/reference/views.rst
@@ -171,6 +171,8 @@ root can have the following attributes:
``create``, ``edit``, ``delete``
allows *dis*\ abling the corresponding action in the view by setting the
corresponding attribute to ``false``
+``limit``
+ the default size of a page. It should be a positive integer
``on_write``
only makes sense on an ``editable`` list. Should be the name of a method
on the list's model. The method will be called with the ``id`` of a record