:tocdepth: 1 .. _country_country: Country ======= :Model Name: ``country.country`` :Base Module: :ref:`country_module` :Menu: :menuselection:`Administration --> Countries` The *Country*-model introduces the conception of ... .. _country_country_fields: Fields ------ .. _country_country_country_code: :guilabel:`Code`: :Internal Name: ``code`` :Attributes: :ref:`required` :Type: :ref:`field_type_char` The ISO country code in two chars. You can use this field for quick search. .. _country_country_country_name: :guilabel:`Name`: :Internal Name: ``name`` :Attributes: :ref:`required` :Type: :ref:`field_type_char` The full name of the country. .. _country_country_country_subdivisions: :guilabel:`Subdivisions`: :Internal Name: ``subdivisions`` :Type: :ref:`field_type_one2many` :Relation Model: :ref:`country_subdivision` The *Subdivisions*-field is used to store ... Access ------ The manipulation of records in this model is controlled by :ref:`ir_model_access` entries. :ref:`res_user`\ s being member of :ref:`res_group` "Administration" have the following access permissions: :Read: allowed :Write: allowed :Create: allowed :Delete: allowed All other :ref:`res_user`\ s have these access permissions: :Read: allowed :Write: forbidden :Create: forbidden :Delete: forbidden .. _country_subdivision: Subdivision =========== :Model Name: ``country.subdivision`` :Base Module: :ref:`country_module` The *Subdivision*-model introduces the conception of ... .. _country_subdivision_fields: Fields ------ .. _country_country_subdivision_code: :guilabel:`Code`: :Internal Name: ``code`` :Attributes: :ref:`required` :Type: :ref:`field_type_char` The *Code*-field is used to store ... .. _country_country_subdivision_name: :guilabel:`Name`: :Internal Name: ``name`` :Attributes: :ref:`required` :Type: :ref:`field_type_char` The *Name*-field is used to store ... .. _country_country_subdivision_parent: :guilabel:`Parent`: :Internal Name: ``parent`` :Type: :ref:`field_type_many2one` :Relation Model: :ref:`country_subdivision` The parent record in a tree-structure. See section :ref:`general_concept_tree`. .. _country_country_subdivision_type: :guilabel:`Type`: :Internal Name: ``type`` :Attributes: :ref:`required` :Type: :ref:`field_type_selection` The following options are available: * :guilabel:`Administration` * :guilabel:`Administrative area` * :guilabel:`Administrative Region` * :guilabel:`Administrative Territory` * :guilabel:`Area` * :guilabel:`Atoll` * :guilabel:`Autonomous City` * :guilabel:`Autonomous Commune` * :guilabel:`Autonomous communities` * :guilabel:`Autonomous District` * :guilabel:`Autonomous island` * :guilabel:`Autonomous monastic state` * :guilabel:`Autonomous municipality` * :guilabel:`Autonomous Province` * :guilabel:`Autonomous Region` * :guilabel:`Autonomous republic` * :guilabel:`Autonomous sector` * :guilabel:`Autonomous territory` * :guilabel:`Borough` * :guilabel:`Canton` * :guilabel:`Capital city` * :guilabel:`Capital District` * :guilabel:`Capital Metropolitan City` * :guilabel:`Capital Territory` * :guilabel:`City` * :guilabel:`City corporation` * :guilabel:`City with county rights` * :guilabel:`Commune` * :guilabel:`Country` * :guilabel:`County` * :guilabel:`Department` * :guilabel:`Dependency` * :guilabel:`District` * :guilabel:`Division` * :guilabel:`Economic Prefecture` * :guilabel:`Economic region` * :guilabel:`Emirate` * :guilabel:`Entity` * :guilabel:`Federal Dependency` * :guilabel:`Federal District` * :guilabel:`Federal Territories` * :guilabel:`Geographical region` * :guilabel:`Geographical unit` * :guilabel:`Governorate` * :guilabel:`Included for completeness` * :guilabel:`Island council` * :guilabel:`Island group` * :guilabel:`Local council` * :guilabel:`London borough` * :guilabel:`Metropolitan cities` * :guilabel:`Metropolitan department` * :guilabel:`Metropolitan district` * :guilabel:`Metropolitan region` * :guilabel:`Municipalities` * :guilabel:`Municipality` * :guilabel:`Oblast` * :guilabel:`Outlying area` * :guilabel:`Overseas region/department` * :guilabel:`Overseas territorial collectivity` * :guilabel:`Parish` * :guilabel:`Prefecture` * :guilabel:`Principality` * :guilabel:`Province` * :guilabel:`Rayon` * :guilabel:`Region` * :guilabel:`Regional council` * :guilabel:`Republic` * :guilabel:`Special administrative region` * :guilabel:`Special city` * :guilabel:`Special District` * :guilabel:`Special Municipality` * :guilabel:`Special Region` * :guilabel:`Special zone` * :guilabel:`State` * :guilabel:`Territorial unit` * :guilabel:`Territory` * :guilabel:`Town council` * :guilabel:`Two-tier county` * :guilabel:`Union territory` * :guilabel:`Unitary authority` The *Type*-field is used to store ... Access ------ The manipulation of records in this model is controlled by :ref:`ir_model_access` entries. :ref:`res_user`\ s being member of :ref:`res_group` "Administration" have the following access permissions: :Read: allowed :Write: allowed :Create: allowed :Delete: allowed All other :ref:`res_user`\ s have these access permissions: :Read: allowed :Write: forbidden :Create: forbidden :Delete: forbidden