Repository
OCA/delivery-carrier · module folder · Try on Runboat
Module version
1.1.0
Category
Delivery, Stock, Sales
Folder size
0.3 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://laslabs.com/
Last tracking update
2026-08-07 07:17:46
Authors
Odoo Community Association (OCA), LasLabs
Maintainers
Odoo Community Association (OCA), LasLabs
Committers
GitHub, Weblate, OCA Transbot, Dave Lasley, oca-travis, Brett Wood
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (0)

No views found for this module.

HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • delivery_type Selection
    selection_add=[('base_on_rate', 'Based on Rates')]
Public methods (1)
  • base_on_rate_get_shipping_price_from_so(self, sale_orders)
    @api.model

New fields (2)
  • picking_id Many2one
    required=False string='Stock Picking'
  • sale_order_id Many2one → sale.order
    comodel_name='sale.order' required=True string='Sale Order'
Public methods (1)
  • generate_equiv_picking_rates(self, stock_picking)
    @api.multi

New fields (1)
  • carrier_rate_ids One2many → delivery.carrier.rate
    comodel_name='delivery.carrier.rate' inverse_name='sale_order_id' string='Delivery Carrier Rates'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • action_confirm(self)
    @api.multi
    Overloaded to generate picking rates based on a picking's sale order. Pickings are connected to sale orders through moves and this action is where moves and pickings are typically joined.

Loading…