3
0
Fork 0

Merge PR #2924 into 17.0

Signed-off-by pedrobaeza
17.0
OCA-git-bot 2024-09-16 10:33:20 +00:00
commit 58b8b2a4ce
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ patch(FormController.prototype, {
viewType = isSmall ? "kanban" : "list";
}
field.viewMode = viewType;
if (field.views[viewType] && limit) {
if (field.views && field.views[viewType] && limit) {
field.views[viewType].limit = limit;
}
}