res.country :: Country

Main super-class for regular database-persisted Odoo models. Odoo models are created by inheriting from this class:: class user(Model): ... The system will later instantiate the class once per database (on which the class' module is installed).

Fields

  • address_format [text]: Layout in Reports

  • address_view_id [many2one: ir.ui.view]: Input View

  • code [requiredchar(2)]: Country Code

  • country_group_ids [many2many: res.country.group]: Country Groups

  • create_date [readonlydatetime]: Created on

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

  • currency_id [many2one: res.currency]: Currency

  • display_name [readonlychar]: Display Name

  • id [readonlyinteger]: ID

  • image_url [readonlychar]: Flag

  • is_stripe_supported_country [readonlyboolean]: Is Stripe Supported Country

  • name [requiredchar]: Country Name

  • name_position [selection]: Customer Name Position

  • phone_code [integer]: Country Calling Code

  • state_ids [one2many: res.country.state]: States

  • state_required [boolean]: State Required

  • vat_label [char]: Vat Label

  • write_date [readonlydatetime]: Last Updated on

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

  • zip_required [boolean]: Zip Required