Skip to content
Health
54/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 13 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 18.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.06 MB
Module directory on disk
Code analysis 0 migration notes 4 models 6 views 0 HTTP endpoints

Description

This module adds the concept of option on carriers that can differ depending on the picking This module doesn't do anything by itself, it serves as a base module for other carrier-specific modules.

Dependencies

Odoo dependencies
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 6

XML IDNameModelTypeStatus
delivery_carrier_option_view_form delivery_base.delivery_carrier_option.view_form delivery.carrier.option form New
delivery_carrier_option_view_list delivery_base.delivery_carrier_option.view_list delivery.carrier.option list New
delivery_carrier_template_option_view_form delivery_base.delivery_carrier_option.view_form delivery.carrier.template.option form New
delivery_carrier_template_option_view_list delivery_base.delivery_carrier_template_option.view_list delivery.carrier.template.option list New
view_delivery_carrier_form delivery_base.delivery.carrier.view_form delivery.carrier form Inherits delivery.view_delivery_carrier_form
view_picking_withcarrier_out_form stock.picking form Inherits stock_delivery.view_picking_withcarrier_out_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • available_option_ids One2many → delivery.carrier.option
    comodel_name='delivery.carrier.option' context={'active_test': False} inverse_name='carrier_id' string='Option'
Public methods (1)
  • default_options(self)
    Returns default and available options for a carrier

New fields (7)
  • active Boolean
    default=True
  • by_default Boolean
    help='By check, user can choose to apply this option to each Delivery Order\n using this delivery method' string='Applied by Default'
  • carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier'
  • color Integer
    compute='_compute_color' help='Orange if the option is mandatory, otherwise no color'
  • mandatory Boolean
    help='If checked, this option is necessarily applied to the delivery order. Mandatory options show up in orange in the option widget on the picking.'
  • readonly_flag Boolean
    help='When True, help to prevent the user to modify some fields option (if attribute is defined in the view)'
  • tmpl_option_id Many2one → delivery.carrier.template.option
    comodel_name='delivery.carrier.template.option' ondelete='cascade' required=True string='Option'
Public methods (0)

No public methods.

New fields (5)
  • code Char
  • description Char
    help='Allow to define a more complete description than in the name field.'
  • name Char
  • partner_id Many2one → res.partner
    comodel_name='res.partner' string='Partner Carrier'
  • type Selection
    default='basic' selection=[('basic', 'Basic Service'), ('additional', 'Additional Service'), ('delivery', 'Delivery Instructions'), ('partner_option', 'Partner Option')] string='Option Type'
Public methods (0)

No public methods.

New fields (1)
  • option_ids Many2many → delivery.carrier.option
    comodel_name='delivery.carrier.option' compute='_compute_option_ids' readonly=False store=True string='Options'
Public methods (1)
  • onchange_option_ids(self)
    @api.onchange('option_ids')

Loading…