DNS connector
connector_dns · OCA/infrastructure
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 121 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.17 MB
Module directory on disk
Code analysis
22 migration notes
8 models
7 views
0 HTTP endpoints
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
DNSBackend— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourceDNSBackend— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (7 methods) migration-api-multi-one · sourceDNSBinding— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceDNSRecord— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceDNSRecordType— Migrating to 17.0: `name_get` no longer feeds `display_name`: override `_compute_display_name` instead. migration-name-get · sourceDNSRecordType— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourcedns_backend_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcedns_record_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourcedns_zone_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.connector.backend`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (4 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.connector.unit.mapper`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.connector.unit.backend_adapter`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.tools.translate`) (5 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.connector.unit.synchronizer`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- Python dependencies
- requests
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
dns_backend_form |
DNS Backend Form | dns.backend | form | New |
dns_backend_tree |
DNS Backend Tree | dns.backend | tree | New |
dns_record_form |
DNS Record Form | dns.record | form | New |
dns_record_tree |
DNS Record Tree | dns.record | tree | New |
dns_zone_form |
DNS Zone Form | dns.zone | form | New |
dns_zone_tree |
DNS Zone Tree | dns.zone | tree | New |
view_connector_config_settings |
Connector Settings | connector.config.settings | Inherits connector.view_connector_config_settings |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 8
New fields (9)
-
activeBooleandefault=True -
company_idMany2one → res.companycomodel_name='res.company'default=<expr>string='Company' -
import_records_from_dateDatetime -
import_zones_from_dateDatetime -
is_defaultBooleandefault=Truehelp='Check this if this is the default connector for the company. All newly created records for this company will be synced to the default system. Only records that originated from non-default systems will be synced with them.' -
loginCharhelp="Provider's login."required=Truestring='Login' -
passwordCharhelp="Provider's password."required=Truestring='Password' -
uriCharhelp='URI to Provider endpoint.' -
versionSelectionhelp='DNS service provider'required=Trueselection='_select_version'string='Service Provider'
-
check_dns_structure(self)@api.multiIt provides a central method used in every data import It should support non-singleton Recordsets. -
import_dns_records(self)@api.multi -
import_dns_zones(self)@api.multi -
name_get(self)@api.multi -
resync_all(self, binding_model, backend_ids=None)@api.modelIt re-imports all bound records with their external systems. This method is particularly useful if the external system does not have a webhook to notify Odoo of updated records. Args: binding_model (str): Name of binding model to sync backend_ids (list): List of ids for Backend records that should be used as search filter. ``None`` or ``False`` for all.
New fields (3)
-
dns_backend_idMany2one → dns.backendcomodel_name='dns.backend'default=<expr>ondelete='restrict'required=Truestore=Truestring='DNS Backend' -
dns_id_externalCharhelp='ID of the record in external system.'string='External ID' -
fail_dateDatetime
No public methods.
New fields (7)
-
dns_bind_idsOne2many → dns.record.bindcomodel_name='dns.record.bind'inverse_name='odoo_id'string='External Bindings' -
nameCharhelp='Host record, such as "www".'required=Truestring='Sub domain' -
ttlIntegerdefault=600help='Time to Live, in seconds. Scope: 1-604800'required=Truestring='TTL' -
type_helpTextrelated='type_id.help'string='Record Help' -
type_idMany2one → dns.record.typecomodel_name='dns.record.type'required=Truestring='Record Type' -
valueTexthelp='Enter multiple values on separate lines. Enclose text in quotation marks.'required=Truestring='Value' -
zone_idMany2one → dns.zonecomodel_name='dns.zone'help='Hosted zone that this record is applied to.'ondelete='cascade'required=Truestring='Zone'
No public methods.
New fields (1)
-
odoo_idMany2one → dns.recordcomodel_name='dns.record'ondelete='cascade'required=Truestring='DNS Record'
No public methods.
New fields (6)
-
codeCharrequired=True -
dns_bind_idsOne2many → dns.record.type.bindcomodel_name='dns.record.type.bind'inverse_name='odoo_id'string='External Bindings' -
helpTexthelp='Text that will be displayed to user as a formatting guide for this record type.' -
nameCharhelp='Name of DNS record type, such a "A" or "CNAME".'required=True -
supported_backend_idsMany2many → dns.backendcomodel_name='dns.backend'string='Supported Backends' -
validate_regexCharhelp='This is a regex that is used for validation of the record value. Leave blank for no validation.'
-
name_get(self)@api.multi
New fields (1)
-
odoo_idMany2one → dns.record.typecomodel_name='dns.record.type'ondelete='cascade'required=Truestring='DNS Record'
No public methods.
New fields (3)
-
dns_bind_idsOne2many → dns.zone.bindcomodel_name='dns.zone.bind'inverse_name='odoo_id'string='External Bindings' -
nameCharhelp='Hosted zone name, such as "amazon.com".'required=Truestring='Name' -
record_idsOne2many → dns.recordcomodel_name='dns.record'inverse_name='zone_id'string='DNS Records'
No public methods.
New fields (1)
-
odoo_idMany2one → dns.zonecomodel_name='dns.zone'ondelete='cascade'required=Truestring='DNS Zone'
No public methods.