ir.model.fields :: Fields

Mixin that overrides the create and write methods to properly generate ir.model.data entries flagged with Studio for the corresponding resources. Doesn't create an ir.model.data if the record is part of a module being currently installed as the ir.model.data will be created automatically afterwards.

Fields

  • column1 [char]: Column 1

  • column2 [char]: Column 2

  • company_dependent [readonlyboolean]: Company Dependent

  • complete_name [char]: Complete Name

  • compute [text]: Compute

  • copied [boolean]: Copied

  • create_date [readonlydatetime]: Created on

  • create_uid [readonlymany2one: res.users]: Created by

  • currency_field [char]: Currency field

  • depends [char]: Dependencies

  • display_name [readonlychar]: Display Name

  • domain [char]: Domain

  • field_description [requiredchar]: Field Label

  • group_expand [boolean]: Expand Groups

  • groups [many2many: res.groups]: Groups

  • help [text]: Field Help

  • id [readonlyinteger]: ID

  • index [boolean]: Indexed

  • model [requiredchar]: Model Name

  • model_id [requiredmany2one: ir.model]: Model

  • modules [readonlychar]: In Apps

  • name [requiredchar]: Field Name

  • on_delete [selection]: On Delete

  • readonly [boolean]: Readonly

  • related [char]: Related Field Definition

  • related_field_id [readonlymany2one: ir.model.fields]: Related Field

  • relation [char]: Related Model

  • relation_field [char]: Relation Field

  • relation_field_id [readonlymany2one: ir.model.fields]: Relation field

  • relation_table [char]: Relation Table

  • required [boolean]: Required

  • sanitize [boolean]: Sanitize HTML

  • sanitize_attributes [boolean]: Sanitize HTML Attributes

  • sanitize_form [boolean]: Sanitize HTML Form

  • sanitize_overridable [boolean]: Sanitize HTML overridable

  • sanitize_style [boolean]: Sanitize HTML Style

  • sanitize_tags [boolean]: Sanitize HTML Tags

  • selectable [boolean]: Selectable

  • selection [char]: Selection Options (Deprecated)

  • selection_ids [one2many: ir.model.fields.selection]: Selection Options

  • size [integer]: Size

  • state [readonlyrequiredselection]: Type

  • store [boolean]: Stored

  • strip_classes [boolean]: Strip Class Attribute

  • strip_style [boolean]: Strip Style Attribute

  • tracking [integer]: Enable Ordered Tracking

  • translate [boolean]: Translatable

  • ttype [requiredselection]: Field Type

  • write_date [readonlydatetime]: Last Updated on

  • write_uid [readonlymany2one: res.users]: Last Updated by