Delivery Carrier Shipping Label
delivery_carrier_shipping_label · OCA/delivery-carrier
Health
62/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 22 months ago
-
Required by20/253 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
3 models
6 views
0 HTTP endpoints
Description
This module is kind of a technical module as it adds a new model inheriting the ir.attachment which purpose is to isolate the shipping label and eventually add some specific fields for this kind of document. The final main goal beeing to identifiy these shipping labels from the other documents attached to a picking in order to send it to the right printer.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- delivery_carrier_label_default, delivery_postlogistics, delivery_roulier
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
delivery_carrier_option_view_form |
delivery_base.delivery_carrier_option.view_form | delivery.carrier.option | form | New |
delivery_carrier_option_view_list |
delivery_base.delivery_carrier_option.view_list | delivery.carrier.option | list | New |
delivery_carrier_template_option_view_form |
delivery_base.delivery_carrier_option.view_form | delivery.carrier.template.option | form | New |
delivery_carrier_template_option_view_list |
delivery_base.delivery_carrier_template_option.view_list | delivery.carrier.template.option | list | New |
view_delivery_carrier_form |
delivery_base.delivery.carrier.view_form | delivery.carrier | form | Inherits delivery.view_delivery_carrier_form |
view_picking_withcarrier_out_form |
stock.picking | form | Inherits stock_delivery.view_picking_withcarrier_out_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (1)-
send_shipping(self, pickings)Handle labels and if we have them. Expected format is {'labels': [{}, ...]} The dicts are input for stock.picking#attach_label
New fields (3)
-
attachment_idMany2one → ir.attachmentcomodel_name='ir.attachment'ondelete='cascade'required=Truestring='Attachement' -
file_typeChardefault='pdf'string='File type' -
package_idMany2one → stock.quant.packagecomodel_name='stock.quant.package'string='Pack'
No public methods.
New fields (0)
No new fields.
Public methods (2)-
attach_shipping_label(self, label)Attach a label returned by send_to_shipper to a picking -
get_shipping_label_values(self, label)