[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) <anv@odoo.com>
This commit is contained in:
parent
cfeb1e4838
commit
d67a2492ce
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user