mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_m2x_options: Added limit for o2m field entries
Added the system parameter "web_m2x_options.field_limit_entries" to set the limit of entries that can be displayed.
This commit is contained in:
@@ -12,6 +12,7 @@ class IrConfigParameter(models.Model):
|
||||
"web_m2x_options.limit",
|
||||
"web_m2x_options.search_more",
|
||||
"web_m2x_options.m2o_dialog",
|
||||
"web_m2x_options.field_limit_entries",
|
||||
]
|
||||
return {
|
||||
res["key"]: res["value"]
|
||||
|
||||
Reference in New Issue
Block a user