TIP: You can type at any time to perform a new search.
Delivery Carrier Shipping Label
delivery_carrier_shipping_label · OCA/delivery-carrier
- Repository
- OCA/delivery-carrier · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Delivery
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/delivery-carrier
- Last tracking update
- 2026-08-07 08:42:52
- Authors
- Camptocamp, Akretion, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Akretion, Odoo Community Association (OCA)
- Committers
- Florian da Costa, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- delivery_carrier_label_default, delivery_postlogistics, delivery_roulier
- 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.
Code Analysis ⓘ
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)
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 267 days ago
- Last activity
- 111 days ago
- Repository
- OCA/delivery-carrier
- Pull request
- [19.0][MIG] delivery_carrier_shipping_label: Migration to 19.0 (#1090)