From cb07225bb0f2e9f974b4bacb10a77e41fc9d0ff9 Mon Sep 17 00:00:00 2001 From: Adrian Teng Date: Thu, 10 Feb 2022 06:21:34 +0000 Subject: [PATCH] Update `create` doc on allowed `vals_list` types X-original-commit: 1c6fc48ee80906e22a11c7e49f238d2e4e747417 Part-of: odoo/odoo#84588 --- odoo/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo/models.py b/odoo/models.py index 42a662be244..a1f33e714d0 100644 --- a/odoo/models.py +++ b/odoo/models.py @@ -3976,7 +3976,7 @@ Fields: The new records are initialized using the values from the list of dicts ``vals_list``, and if necessary those from :meth:`~.default_get`. - :param list vals_list: + :param Union[list[dict], dict] vals_list: values for the model's fields, as a list of dictionaries:: [{'field_name': field_value, ...}, ...]