Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 8 Odoo series since 12.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 0 migration notes 3 models 2 views 0 HTTP endpoints

Description

This module extends the functionality of base partner module to allow to set a default delivery and invoice address and a default contact for contacts.

Dependencies

Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
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 2

XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit res.config.settings form Inherits base_setup.res_config_settings_view_form
view_partner_form res.partner form Inherits base.view_partner_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (1)
  • contact_address_default_allow_all_partners Boolean
Public methods (0)

No public methods.

New fields (1)
  • contact_address_default_allow_all_partners Boolean
    readonly=False related='company_id.contact_address_default_allow_all_partners'
Public methods (0)

No public methods.

New fields (6)
  • partner_contact_domain Binary
    compute='_compute_partner_domains'
  • partner_contact_id Many2one → res.partner
    comodel_name='res.partner' string='Default contact'
  • partner_delivery_domain Binary
    compute='_compute_partner_domains'
  • partner_delivery_id Many2one → res.partner
    comodel_name='res.partner' string='Shipping address'
  • partner_invoice_domain Binary
    compute='_compute_partner_domains'
  • partner_invoice_id Many2one → res.partner
    comodel_name='res.partner' string='Invoice address'
Public methods (3)
  • address_get(self, adr_pref=None)
    Force the contact, delivery or invoice addresses. It will try to default to the one set in the commercial partner if any
  • get_address_default_type(self)
    This will be the extension method for other contact types
  • write(self, vals)
    We want to prevent archived contacts as default addresses

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…