From d67a2492ce38dba0351f997ba880b0e3430533ba Mon Sep 17 00:00:00 2001 From: Altela Eleviansyah Pramardhika Date: Thu, 19 May 2022 05:48:13 +0000 Subject: [PATCH] [FW][FIX] developer/howtos: Fixed typo from field to fields closes odoo/documentation#2035 Forward-port-of: odoo/documentation#2023 Signed-off-by: Antoine Vandevenne (anv) --- content/developer/howtos/backend.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/developer/howtos/backend.rst b/content/developer/howtos/backend.rst index 6072242b3..7ff6dd9fb 100644 --- a/content/developer/howtos/backend.rst +++ b/content/developer/howtos/backend.rst @@ -152,7 +152,7 @@ Common Attributes Much like the model itself, its fields can be configured, by passing configuration attributes as parameters:: - name = field.Char(required=True) + name = fields.Char(required=True) Some attributes are available on all fields, here are the most common ones: