Sale Delivery Rates

sale_delivery_rate
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/10.0/sale_delivery_rate
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYDelivery, Stock, Sales
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSGitHub, OCA Transbot, Dave Lasley, oca-travis, Weblate, Brett Wood
WEBSITE
WEBSITEhttps://laslabs.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/delivery-carrier:
    - stock_picking_delivery_rate
odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
    - procurement
    - barcodes
    - web_planner
    - delivery
    - sale_stock
    - sale
    - sales_team
    - account
    - analytic
    - stock_account
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views 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.
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/9.0/sale_delivery_rate
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYDelivery, Stock, Sales
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), LasLabs
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), LasLabs
COMMITTERS
COMMITTERSOCA Transbot, Dave Lasley, oca-travis, Weblate
WEBSITE
WEBSITEhttps://laslabs.com/
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/delivery-carrier:
    - stock_picking_delivery_rate
odoo/odoo:
    - stock
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - report
    - procurement
    - barcodes
    - web_planner
    - delivery
    - sale_stock
    - sale
    - sales_team
    - account
    - analytic
    - web_tip
    - stock_account
    - purchase
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (0)

No views 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
  • 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.