mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG]web_m2x_options: Migration to 17.0
This commit is contained in:
@@ -11,8 +11,8 @@ class IrConfigParameter(models.Model):
|
||||
"web_m2x_options.create_edit",
|
||||
"web_m2x_options.limit",
|
||||
"web_m2x_options.search_more",
|
||||
"web_m2x_options.m2o_dialog",
|
||||
"web_m2x_options.field_limit_entries",
|
||||
"web_m2x_options.open",
|
||||
]
|
||||
values = self.sudo().search_read([["key", "in", opts]], ["key", "value"])
|
||||
return {res["key"]: res["value"] for res in values}
|
||||
|
||||
Reference in New Issue
Block a user