From 0d117b11e08aee69bbb93d25df86dc728b607e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 4 May 2014 00:19:45 +0200 Subject: [PATCH] Use the same read limit for children review5121002 --- tryton/gui/window/view_form/model/record.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tryton/gui/window/view_form/model/record.py b/tryton/gui/window/view_form/model/record.py index 3241c0ceff..fa6843ef66 100644 --- a/tryton/gui/window/view_form/model/record.py +++ b/tryton/gui/window/view_form/model/record.py @@ -73,10 +73,7 @@ class Record(SignalEvent): record_context = self.context_get() if loading == 'eager': - limit = CONFIG['client.limit'] - if not self.parent: - # If not a children no need to load too much - limit = int(limit / len(fnames)) + limit = int(CONFIG['client.limit'] / len(fnames)) def filter_group(record): return name not in record._loaded and record.id >= 0