Use client limit for window action with empty limit

issue6740
review36591002
This commit is contained in:
Cédric Krier committed 2017-09-07 21:02:29 +02:00
1 parent 2a83ece397
commit 4297d72ff9
1 file changed
+5 -1
+5 -1
View File
@@ -95,7 +95,11 @@
params.res_id = action.res_id || data.res_id;
params.context_model = action.context_model;
params.context_domain = action.context_domain;
params.limit = action.limit;
if (action.limit !== null) {
params.limit = action.limit;
} else {
params.limit = Sao.config.limit;
}
params.icon = action['icon.rec_name'] || '';
if ((action.keyword || '') === 'form_relate') {