TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/delivery-carrier · module folder · Try on Runboat
Module version
1.0.2
Category
Operations/Purchase
Folder size
0.08 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/delivery-carrier
Last tracking update
2026-08-07 09:06:24
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
Pedro M. Baeza, Víctor Martínez, Weblate, OCA-git-bot, oca-ci, Andrii9090-tecnativa
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
delivery_purchase_multi_destination
Description
This module allows to use delivery methods defined in *delivery* module
to calculate purchase delivery costs.

It reverses destinations in delivery pricelists to use them as sources
when applying the delivery method to purchases.

Code Analysis info_outline

Views touched (2)
XML IDNameModelTypeStatus
purchase_order_form_carrier purchase.order.form.carrier purchase.order form Inherits purchase.purchase_order_form
view_picking_withcarrier_out_form delivery.stock.picking_withcarrier.form.view 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 (0)

No new fields.

Public methods (6)
  • purchase_base_on_rule_rate_shipment(self, order)
  • purchase_base_on_rule_send_shipping(self, pickings)
  • purchase_fixed_rate_shipment(self, order)
  • purchase_fixed_send_shipping(self, pickings)
  • purchase_rate_shipment(self, order)
    Compute the price of the order shipment :param order: record of purchase.order :return dict: {'success': boolean, 'price': a float, 'error_message': a string containing an error message, 'warning_message': a string containing a warning message}
  • purchase_send_shipping(self, pickings)
    Send the package to the service provider :param pickings: A recordset of pickings :return list: A list of dictionaries (one per picking) containing of the form:: { 'exact_price': price, 'tracking_number': number }

New fields (2)
  • carrier_id Many2one → delivery.carrier
    comodel_name='delivery.carrier' string='Delivery Method'
  • delivery_price Float
    compute='_compute_delivery_price' readonly=False store=True
Public methods (1)
  • onchange_partner_id_delivery_purchase(self)
    @api.onchange('partner_id')

New fields (3)
  • delivery_picking_orig_id Many2one → stock.picking
    comodel_name='stock.picking' string='Origin picking (delivery)'
  • is_delivery Boolean
    default=False string='Is a Delivery'
  • qty_to_invoice Float
    recursive=True
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • purchase_send_to_shipper(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…