mirror of
https://github.com/odoo/documentation.git
synced 2025-12-13 07:59:10 +07:00
[FW][FIX] developer/rdtraining: fix typo
Fixed `name = field.Char(required=True)` to `name = fields.Char(required=True)`. closes odoo/documentation#1822 Forward-port-of: odoo/documentation#1816 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
committed by
GitHub
parent
493d45d687
commit
dec529af18
@@ -231,7 +231,7 @@ Common Attributes
|
||||
Much like the model itself, 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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user