Base Binary URL Import

base_binary_url_import
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/16.0/base_binary_url_import
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, lehoangan1988
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/web:
    - web_domain_field
odoo/odoo:
    - base
    - base_import
    - web
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyrfc6266
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
base_binary_url_import_form base.binary.url.import.form base.binary.url.import form New
Models touched (2)

New fields (6)
  • line_ids One2many → base.binary.url.import.line
    args: 'base.binary.url.import.line', 'wizard_id'
  • target_binary_field_domain Char
    compute='_compute_allowed_target_fields_domain'
  • target_binary_field_id Many2one → ir.model.fields
    required=True args: 'ir.model.fields'
  • target_binary_filename_field_domain Char
    compute='_compute_allowed_target_fields_domain'
  • target_binary_filename_field_id Many2one → ir.model.fields
    args: 'ir.model.fields'
  • target_model_id Many2one → ir.model
    domain=[('transient', '=', False)] required=True args: 'ir.model'
Public methods (4)
  • action_import_lines(self)
  • check_access_rights(self, operation, raise_exception=True)
    @api.model
  • lines_sanity_check(self)
    Check if IDs are existing for selected model and we don't have two lines matching same record
  • onchange_line_ids(self)
    @api.onchange('line_ids')

New fields (4)
  • binary_url_to_import Char
    required=True string='URL to import'
  • is_target_record_identifier_required Boolean
    compute='_compute_is_target_record_identifier_required'
  • target_record_identifier Char
    string='Target record ID'
  • wizard_id Many2one → base.binary.url.import
    required=True args: 'base.binary.url.import'
Public methods (1)
  • import_binary_from_url(self, request_session=None)
REPOSITORY
REPOSITORYOCA/server-ux
GIT
GIThttps://github.com/OCA/server-ux.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/server-ux/tree/13.0/base_binary_url_import
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSAkim Juillerat, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/server-ux
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/web:
    - web_domain_field
odoo/odoo:
    - base_import
    - web
    - base
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES rfc6266_parser
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
base_binary_url_import_form base.binary.url.import.form base.binary.url.import form New
Models touched (2)

New fields (6)
  • line_ids One2many → base.binary.url.import.line
    args: 'base.binary.url.import.line', 'wizard_id'
  • target_binary_field_domain Char
    compute='_compute_allowed_target_fields_domain'
  • target_binary_field_id Many2one → ir.model.fields
    required=True args: 'ir.model.fields'
  • target_binary_filename_field_domain Char
    compute='_compute_allowed_target_fields_domain'
  • target_binary_filename_field_id Many2one → ir.model.fields
    args: 'ir.model.fields'
  • target_model_id Many2one → ir.model
    domain=[('transient', '=', False)] required=True args: 'ir.model'
Public methods (4)
  • action_import_lines(self)
  • check_access_rights(self, operation, raise_exception=True)
    @api.model
  • lines_sanity_check(self)
    Check if IDs are existing for selected model and we don't have two lines matching same record
  • onchange_line_ids(self)
    @api.onchange('line_ids')

New fields (4)
  • binary_url_to_import Char
    required=True string='URL to import'
  • is_target_record_identifier_required Boolean
    compute='_compute_is_target_record_identifier_required'
  • target_record_identifier Char
    string='Target record ID'
  • wizard_id Many2one → base.binary.url.import
    required=True args: 'base.binary.url.import'
Public methods (1)
  • import_binary_from_url(self, request_session=None)