Sale Delivery Rates
sale_delivery_rate · OCA/delivery-carrier
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 109 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.3 MB
Module directory on disk
Code analysis
3 migration notes
4 models
0 views
0 HTTP endpoints
Migration considerations
DeliveryCarrierRate— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceDeliveryCarrierRate— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · sourceStockMove— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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_typeSelectionselection_add=[('base_on_rate', 'Based on Rates')]
-
base_on_rate_get_shipping_price_from_so(self, sale_orders)@api.model
New fields (2)
-
picking_idMany2onerequired=Falsestring='Stock Picking' -
sale_order_idMany2one → sale.ordercomodel_name='sale.order'required=Truestring='Sale Order'
-
generate_equiv_picking_rates(self, stock_picking)@api.multi
New fields (1)
-
carrier_rate_idsOne2many → delivery.carrier.ratecomodel_name='delivery.carrier.rate'inverse_name='sale_order_id'string='Delivery Carrier Rates'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
action_confirm(self)@api.multiOverloaded 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…