Test - Import & Export

test_import_export
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/test_import_export
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSRaphael Collet, Denis Ledoux, Xavier Morel, Aaron Bohy, Julien Castiaux, Rémy Voet (ryv), Gorash, Iván Todorovich, Maximilien (malb), lase@odoo.com, Tanguy Quéguineur, yagp-odoo, Krzysztof Magusiak (krma), Ajit Singh, bhna-odoo, assh-odoo, Waleed Elgamal, Jaishyam (JRBR)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
    - base_import
    - website
    - digest
    - mail
    - base_setup
    - bus
    - web_tour
    - html_editor
    - portal
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - html_builder
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to base import and export.

Code Analysis

Views touched (0)

No views found for this module.

Models touched (35)

New fields (16)
  • active Boolean
    default=True
  • bool_and Boolean
    aggregator='bool_and'
  • bool_or Boolean
    aggregator='bool_or'
  • currency_id Many2one → res.currency
    args: 'res.currency'
  • date_max Date
    aggregator='max'
  • definition_properties PropertiesDefinition
    args: 'Definitions'
  • float_avg Float
    aggregator='avg'
  • float_min Float
    aggregator='min'
  • float_monetary Monetary
    aggregator='sum' currency_field='currency_id'
  • int_max Integer
    aggregator='max'
  • int_sum Integer
    aggregator='sum'
  • many2many Many2many → res.partner
    comodel_name='res.partner'
  • many2one Many2one → export.integer
    args: 'export.integer'
  • one2many One2many → export.aggregator.one2many
    args: 'export.aggregator.one2many', 'parent_id'
  • parent_id Many2one → export.aggregator
    string='Parent' args: 'export.aggregator'
  • properties Properties
    definition='parent_id.definition_properties' args: 'Properties'
Public methods (0)

No public methods.

New fields (1)
  • definition_properties PropertiesDefinition
    args: 'Definitions'
Public methods (0)

No public methods.

New fields (6)
  • active Boolean
    default=True
  • admin_property Properties
    definition='admin_property_def.definition_properties' args: 'Properties'
  • admin_property_def Many2one → export.aggregator.admin
    args: 'export.aggregator.admin'
  • name Char
  • parent_id Many2one → export.aggregator
    args: 'export.aggregator'
  • value Integer
Public methods (0)

No public methods.

New fields (2)
  • parent_id Many2one → export.inherits.parent
    ondelete='cascade' required=True args: 'export.inherits.parent'
  • value Integer
Public methods (0)

No public methods.

New fields (1)
  • value_parent Integer
Public methods (0)

No public methods.

New fields (1)
  • child_id Many2one → export.m2o.str.child
    args: 'export.m2o.str.child'
Public methods (0)

No public methods.

New fields (1)
  • name Char
Public methods (0)

No public methods.

New fields (2)
  • str Char
  • value Integer
Public methods (0)

No public methods.

New fields (1)
  • name Many2one → export.with.required.field
    args: 'export.with.required.field'
Public methods (0)

No public methods.

New fields (4)
  • m2o Many2one → export.integer
    args: 'export.integer'
  • parent_id Many2one → export.one2many
    args: 'export.one2many'
  • str Char
  • value Integer
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • child1 One2many → export.one2many.child.1
    args: 'export.one2many.child.1', 'parent_id'
  • child2 One2many → export.one2many.child.2
    args: 'export.one2many.child.2', 'parent_id'
  • const Integer
    default=36
  • parent_id Many2one → export.one2many.recursive
    args: 'export.one2many.recursive'
Public methods (0)

No public methods.

New fields (3)
  • parent_id Many2one → export.one2many.multiple
    args: 'export.one2many.multiple'
  • str Char
  • value Integer
Public methods (0)

No public methods.

New fields (2)
  • child One2many → export.one2many.multiple
    args: 'export.one2many.multiple', 'parent_id'
  • value Integer
Public methods (0)

No public methods.

New fields (2)
  • const Integer
    default=4
  • value Selection
    default='2' args: [('1', 'Foo'), ('2', 'Bar')]
Public methods (0)

No public methods.

New fields (3)
  • value Integer
  • value2 Integer
  • value3 Integer
Public methods (0)

No public methods.

New fields (1)
  • name Char
Public methods (0)

No public methods.

New fields (2)
  • name Char
  • value Integer
    required=True
Public methods (0)

No public methods.

New fields (1)
  • value Char
Public methods (0)

No public methods.

New fields (1)
  • value Char
    readonly=True
Public methods (0)

No public methods.

New fields (1)
  • value Char
    readonly=True
Public methods (0)

No public methods.

New fields (1)
  • value Char
    required=True
Public methods (0)

No public methods.

New fields (1)
  • value Char
    readonly=True
Public methods (0)

No public methods.

New fields (8)
  • c Char
  • currency_id Many2one → res.currency
    args: 'res.currency'
  • d Date
  • dt Datetime
  • f Float
  • html Html
  • m Monetary
  • parent_id Many2one → import.complex
    args: 'import.complex'
Public methods (0)

No public methods.

New fields (3)
  • currency_id Many2one → res.currency
    args: 'res.currency'
  • value Float
  • value2 Monetary
Public methods (0)

No public methods.

New fields (1)
  • value Many2one → import.m2o.related
    args: 'import.m2o.related'
Public methods (0)

No public methods.

New fields (1)
  • value Integer
    default=42
Public methods (0)

No public methods.

New fields (1)
  • value Many2one → import.m2o.required.related
    required=True args: 'import.m2o.required.related'
Public methods (0)

No public methods.

New fields (1)
  • value Integer
    default=42
Public methods (0)

No public methods.

New fields (2)
  • name Char
  • value One2many → import.o2m.child
    args: 'import.o2m.child', 'parent_id'
Public methods (0)

No public methods.

New fields (3)
  • name Char
  • parent_id Many2one → import.o2m
    args: 'import.o2m'
  • value Integer
Public methods (0)

No public methods.

New fields (5)
  • date Date
    string='Date'
  • datetime Datetime
    string='Datetime'
  • name Char
    args: 'Name'
  • othervalue Integer
    string='Other Variable'
  • somevalue Integer
    required=True string='Some Value'
Public methods (0)

No public methods.

New fields (2)
  • properties Properties
    definition='record_definition_id.properties_definition'
  • record_definition_id Many2one → import.properties.definition
    args: 'import.properties.definition'
Public methods (0)

No public methods.

New fields (3)
  • main_properties_record_id Many2one → import.properties
    args: 'import.properties', 'record_definition_id'
  • properties_definition PropertiesDefinition
  • record_properties_ids One2many → import.properties
    args: 'import.properties', 'record_definition_id'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/test_import_export
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSXavier Morel, Aaron Bohy, Rémy Voet (ryv), Gorash, Tanguy Quéguineur, Krzysztof Magusiak (krma), Ajit Singh, Jaishyam (JRBR)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:26:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web
    - base
    - base_import
    - website
    - digest
    - mail
    - base_setup
    - bus
    - web_tour
    - html_editor
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to base import and export.

Code Analysis

Views touched (0)

No views found for this module.

Models touched (25)

New fields (15)
  • active Boolean
    default=True
  • bool_and Boolean
    aggregator='bool_and'
  • bool_or Boolean
    aggregator='bool_or'
  • currency_id Many2one → res.currency
    args: 'res.currency'
  • date_max Date
    aggregator='max'
  • definition_properties PropertiesDefinition
    args: 'Definitions'
  • float_avg Float
    aggregator='avg'
  • float_min Float
    aggregator='min'
  • float_monetary Monetary
    aggregator='sum' currency_field='currency_id'
  • int_max Integer
    aggregator='max'
  • int_sum Integer
    aggregator='sum'
  • many2one Many2one → export.integer
    args: 'export.integer'
  • one2many One2many → export.aggregator.one2many
    args: 'export.aggregator.one2many', 'parent_id'
  • parent_id Many2one → export.aggregator
    string='Parent' args: 'export.aggregator'
  • properties Properties
    definition='parent_id.definition_properties' args: 'Properties'
Public methods (0)

No public methods.

New fields (4)
  • active Boolean
    default=True
  • name Char
  • parent_id Many2one → export.aggregator
    args: 'export.aggregator'
  • value Integer
Public methods (0)

No public methods.

New fields (2)
  • str Char
  • value Integer
Public methods (0)

No public methods.

New fields (4)
  • m2o Many2one → export.integer
    args: 'export.integer'
  • parent_id Many2one → export.one2many
    args: 'export.one2many'
  • str Char
  • value Integer
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • child1 One2many → export.one2many.child.1
    args: 'export.one2many.child.1', 'parent_id'
  • child2 One2many → export.one2many.child.2
    args: 'export.one2many.child.2', 'parent_id'
  • const Integer
    default=36
  • parent_id Many2one → export.one2many.recursive
    args: 'export.one2many.recursive'
Public methods (0)

No public methods.

New fields (3)
  • parent_id Many2one → export.one2many.multiple
    args: 'export.one2many.multiple'
  • str Char
  • value Integer
Public methods (0)

No public methods.

New fields (2)
  • child One2many → export.one2many.multiple
    args: 'export.one2many.multiple', 'parent_id'
  • value Integer
Public methods (0)

No public methods.

New fields (2)
  • const Integer
    default=4
  • value Selection
    default='2' args: [('1', 'Foo'), ('2', 'Bar')]
Public methods (0)

No public methods.

New fields (3)
  • value Integer
  • value2 Integer
  • value3 Integer
Public methods (0)

No public methods.

New fields (1)
  • value Char
Public methods (0)

No public methods.

New fields (1)
  • value Char
    readonly=True
Public methods (0)

No public methods.

New fields (1)
  • value Char
    readonly=True
Public methods (0)

No public methods.

New fields (1)
  • value Char
    required=True
Public methods (0)

No public methods.

New fields (1)
  • value Char
    readonly=True
Public methods (0)

No public methods.

New fields (7)
  • c Char
  • currency_id Many2one → res.currency
    args: 'res.currency'
  • d Date
  • dt Datetime
  • f Float
  • m Monetary
  • parent_id Many2one → import.complex
    args: 'import.complex'
Public methods (0)

No public methods.

New fields (3)
  • currency_id Many2one → res.currency
    args: 'res.currency'
  • value Float
  • value2 Monetary
Public methods (0)

No public methods.

New fields (1)
  • value Many2one → import.m2o.related
    args: 'import.m2o.related'
Public methods (0)

No public methods.

New fields (1)
  • value Integer
    default=42
Public methods (0)

No public methods.

New fields (1)
  • value Many2one → import.m2o.required.related
    required=True args: 'import.m2o.required.related'
Public methods (0)

No public methods.

New fields (1)
  • value Integer
    default=42
Public methods (0)

No public methods.

New fields (2)
  • name Char
  • value One2many → import.o2m.child
    args: 'import.o2m.child', 'parent_id'
Public methods (0)

No public methods.

New fields (2)
  • parent_id Many2one → import.o2m
    args: 'import.o2m'
  • value Integer
Public methods (0)

No public methods.

New fields (3)
  • name Char
    args: 'Name'
  • othervalue Integer
    string='Other Variable'
  • somevalue Integer
    required=True string='Some Value'
Public methods (0)

No public methods.