[FIX] developer/howtos: Fixed typo from field to fields
closes odoo/documentation#2023 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
6f125de01b
commit
1b2fbd0264
@ -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