_auto = False # don't create any database backend 不创建任何数据库后端
_register = False # not visible in ORM registry 在ORM注册表中不可见,不实例化的类
_abstract = True # whether model is abstract 模型是否抽象,多个继承模型
_transient = False # whether model is transient 模型是否临时,用于临时数据,存储在数据库中经常自动清理
_name = None # the model name 模型名称
_description = None # the model's informal name 模型的描述信息
_custom = False # should be True for custom models only 应该只对自定义模型成立
_inherit = None # Python-inherited models ('model' or ['model']) python继承模型
_inherits = {} # inherited models {'parent_model': 'm2o_field'} 多个继承模型
_constraints = [] # Python constraints (old API) python方式约束(旧API)
_table = None # SQL table name used by model 模型使用的SQL表名
_sequence = None # SQL sequence to use for ID field 用于ID字段的SQL序列
_sql_constraints = [] # SQL constraints [(name, sql_def, message)] 数据库约束
_rec_name = None # field to use for labeling records 字段用于标记记录
_order = 'id' # default order for searching results 搜索结果的默认顺序
_parent_name = 'parent_id' # the many2one field used as parent field many2one字段用作父字段
_parent_store = False # set to True to compute parent_path field 设置为True以计算parent_path字段
_date_name = 'date' # field to use for default calendar view 用于默认日历视图的字段
_fold_name = 'fold' # field to determine folded groups in kanban views 字段确定看板视图中的折叠组
_needaction = False # whether the model supports "need actions" (see mail) 模型是否支持“需求操作”(见邮件)
_translate = True # False disables translations export for this model False禁用此模型的翻译导出
_depends = {} # dependencies of models backed up by sql views 由sql视图支持的模型的依赖性 # {model_name: field_names, ...}