Repository
OCA/wms · module folder · Try on Runboat
Module version
1.1.4
Category
Operations/Inventory/Delivery
Folder size
0.11 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/wms
Last tracking update
2026-08-07 07:47:43
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Simone Orsi, Sébastien Alix, Sébastien BEAU, Weblate, OCA Transbot, OCA-git-bot, oca-travis, Matthieu Méquignon, Hai Lang, KV, Mmequignon
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
delivery_preference_glue_stock_picking_group
Description

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
delivery_carrier_preference_form_view delivery.carrier.preference.form.view delivery.carrier.preference form New
delivery_carrier_preference_tree_view delivery.carrier.preference.tree.view delivery.carrier.preference tree New
stock_location_route_form_view stock.location.route.form stock.location.route form Inherits stock.stock_location_route_form_view
view_move_form stock.move.form stock.move form Inherits stock.view_move_form
view_move_tree stock.move tree Inherits sale_stock_available_to_promise_release.view_move_release_tree
view_picking_withcarrier_out_form delivery.stock.picking_withcarrier.form.view stock.picking form Inherits delivery.view_picking_withcarrier_out_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (5)

New fields (9)
  • carrier_id Many2one → delivery.carrier
    ondelete='cascade' args: 'delivery.carrier'
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company'
  • max_weight Float
    help='Leave empty for no limit' args: 'Max weight'
  • max_weight_uom_id Many2one → uom.uom
    compute='_compute_max_weight_uom_id' default=<expr> readonly=True args: 'uom.uom'
  • max_weight_uom_name Char
    readonly=True related='max_weight_uom_id.display_name' string='Max weight UOM'
  • name Char
    compute='_compute_name' readonly=True
  • picking_domain Char
    default='[]' help='Domain to restrict application of this preference for carrier selection on pickings'
  • preference Selection
    default='carrier' required=True args: [('carrier', 'Defined carrier'), ('partner', 'Partner carrier')]
  • sequence Integer
    default=10 index=True required=True
Public methods (1)
  • onchange_preference(self)
    @api.onchange('preference')

New fields (1)
  • picking_ids One2many → stock.picking
    comodel_name='stock.picking' inverse_name='group_id' readonly=True
Public methods (0)

No public methods.

New fields (1)
  • force_recompute_preferred_carrier_on_release Boolean
    help='Mark this box to trigger a recomputation of preferred carrier on the release of operations.' string='Force recomputation of preferred carrier.'
Public methods (0)

No public methods.

New fields (1)
  • estimated_shipping_weight Float
    compute='_compute_estimated_shipping_weight' help='Total weight available to promise calculated according to the quantity available to promise and weight defined on packagings for this product.' string='Estimated shipping weight'
Public methods (2)
  • read_group(self, domain, fields, groupby, offset=0, limit=None, orderby=False, lazy=True)
    @api.model
  • release_available_to_promise(self)

New fields (1)
  • estimated_shipping_weight Float
    compute='_compute_estimated_shipping_weight' help='This weight is calculated according to the move quantity available to promise and existing product packagings weight for each product on the moves.' string='Estimated shipping weight'
Public methods (2)
  • add_preferred_carrier(self)
  • get_preferred_carriers(self)

Loading…

Loading…