[FIX] developer/rdtraining: fix typo
Fixed `name = field.Char(required=True)` to `name = fields.Char(required=True)`. closes odoo/documentation#1816 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
7fc2eec722
commit
d78e1ecb59
@ -231,7 +231,7 @@ Common Attributes
|
|||||||
Much like the model itself, fields can be configured by passing
|
Much like the model itself, fields can be configured by passing
|
||||||
configuration attributes as parameters::
|
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:
|
Some attributes are available on all fields, here are the most common ones:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user