OdooWiki OCA HUB

Delivery Price Collection Cost Product Domain

delivery_price_collection_cost_product_domain folder_open OCA/delivery-carrier open_in_new
Delivery License: AGPL-3

Bridge module between Delivery Price Collection Cost and Delivery Price Product Domain.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Bridge module that lets delivery carriers combine product-based price rules with collection-cost pricing, so shipping costs are calculated only for the products that match a rule.

This is an automatic bridge module that connects two delivery pricing extensions. It does not add any new menu or screen; instead it changes how delivery charges are computed when a sales order is being priced.

When Odoo looks for the right delivery price rule, this module checks whether the order contains products matching the product domain stored on each carrier price rule. If a matching product is found, the rule's condition (variable, operator and maximum value) is evaluated against the order's price, weight, volume and quantity, and the matching rule is returned.

  • It extends the delivery.carrier model and overrides _get_price_from_picking.
  • It reads the product domain configured on carrier price rules and searches the order lines for matching products.
  • It reuses the collection-cost price dictionary (price, weight, volume, quantity, untaxed price) to test each rule.
  • If no rule matches, it falls back to the standard delivery price calculation.

Because it is marked as auto-install, it activates automatically once both dependent modules are installed. The result is that product-specific delivery rules and collection-cost based pricing work together on the same sales order.

Models and fields (1)
  • delivery.carrier · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/delivery-carrier.

terminal Installation and usage

OCA documentation · Odoo 14.0

No configuration necessary

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.