Skip to content
Health
77/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 5 months ago
  • Required by15/25
    1 module depends on it
  • Maturity12/25
    In 2 Odoo series since 16.0

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

Security findings
Grave / minor (static analysis)
Required by
1
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.1 MB
Module directory on disk
Code analysis 1 migration note 3 models 3 views 0 HTTP endpoints

Description

This is a technical module used by the OCA module stay_api and the OCA module donation_api. It allows to share code between those 2 modules.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
stay_api

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
partner_match_or_create_form partner.match.or.create form New
view_partner_title_form res.partner.title form Inherits base.view_partner_title_form
view_partner_title_tree res.partner.title tree Inherits base.view_partner_title_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (30)
  • city Char
  • country_id Many2one → res.country
    args: 'res.country'
  • create_or_update Selection
    required=True args: [('create', "This partner doesn't already exists in Odoo"), ('update', 'This partner already exists in Odoo')]
  • email Char
    string='E-mail'
  • firstname Char
  • lastname Char
    required=True
  • mobile Char
  • phone Char
  • res_id Integer
    readonly=True required=True
  • res_model Char
    readonly=True required=True
  • state_id Many2one → res.country.state
    args: 'res.country.state'
  • street Char
    string='Address Line 1'
  • street2 Char
    string='Address Line 2'
  • suggested_partner_ids Many2many → res.partner
    readonly=True string='Suggested Contacts' args: 'res.partner'
  • title_id Many2one → res.partner.title
    args: 'res.partner.title'
  • update_address Boolean
    compute='_compute_update_bool' precompute=True readonly=False store=True
  • update_email Boolean
    compute='_compute_update_bool' precompute=True readonly=False store=True string='Update E-mail'
  • update_mobile Boolean
    compute='_compute_update_bool' precompute=True readonly=False store=True
  • update_partner_city Char
    related='update_partner_id.city' string='Current City'
  • update_partner_country_id Many2one
    related='update_partner_id.country_id' string='Current Country'
  • update_partner_email Char
    related='update_partner_id.email' string='Current E-mail'
  • update_partner_id Many2one → res.partner
    compute='_compute_update_partner_id' precompute=True readonly=False store=True string='Contact to Update' args: 'res.partner'
  • update_partner_mobile Char
    related='update_partner_id.mobile' string='Current Mobile'
  • update_partner_phone Char
    related='update_partner_id.phone' string='Current Phone'
  • update_partner_state_id Many2one
    related='update_partner_id.state_id' string='Current State'
  • update_partner_street Char
    related='update_partner_id.street' string='Current Street'
  • update_partner_street2 Char
    related='update_partner_id.street2' string='Current Street2'
  • update_partner_zip Char
    related='update_partner_id.zip' string='Current ZIP'
  • update_phone Boolean
    compute='_compute_update_bool' precompute=True readonly=False store=True
  • zip Char
    string='ZIP'
Public methods (3)
  • create_partner(self)
  • default_get(self, fields_list)
    @api.model
  • update_partner(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • api_code Char
    copy=False help='Technical code used by the API. Do not modify!' string='API Code'
Public methods (0)

No public methods.

Loading…