Forgive me for being terrible at reading documentation.
I'm following the tutorial on Chapter 6 \https://www.odoo.com/documentation/14.0/developer/howtos/rdtraining/06_firstui.html
And the task at hand is to "Add the active field to the estate.property model."
So what I did was look at the Odoo documentation:
"
Reserved Field names\
A few field names are reserved for pre-defined behaviors beyond that of automated fields. They should be defined on a model when the related behavior is desired:"
odoo.fields.active
toggles the global visibility of the record, if active is set to False the record is invisible in most searches and listing.
\Boolean
----Okay, so that means that \odoo.fields.active is the right method to call. So I try adding this line
from odoo import fields, models
...
active = fields.active()
But my VS code suggests that active is not a method on odoo.fields, and I am stuck here. Am I on the right track?