Carrier labels - Stock Batch Picking (link)
delivery_carrier_label_batch · OCA/delivery-carrier
Health
58/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 38 months ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 9.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis
0 migration notes
3 models
3 views
0 HTTP endpoints
Description
Dependencies
- Odoo dependencies
- Python dependencies
- PyPDF2
- System dependencies
- None
- Required by
- l10n_ch_delivery_carrier_label_quickpac
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_batch_picking_form |
stock.picking.batch.form | stock.picking.batch | form | Inherits stock_picking_batch_extended.stock_batch_picking_form |
view_delivery_carrier_label_generate |
Generate Carriers Labels | delivery.carrier.label.generate | form | New |
view_picking_batch_apply_carrier |
picking.batch.apply.carrier.form | picking.batch.apply.carrier | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (2)
-
batch_idsMany2many → stock.picking.batchdefault=_get_batch_idsstring='Picking Batch' args: 'stock.picking.batch' -
generate_new_labelsBooleandefault=Falsehelp='If this option is used, new labels will be generated for the packs even if they already have one.\nThe default is to use the existing label.' args: 'Generate new labels'
-
action_generate_labels(self)Call the creation of the delivery carrier label of the missing labels and get the existing ones Then merge all of them in a single PDF
New fields (1)
-
carrier_idMany2one → delivery.carrierrequired=Truestring='Carrier' args: 'delivery.carrier'
-
apply(self)
New fields (2)
-
carrier_idMany2one → delivery.carrierstates={'done': [('readonly', True)]} args: 'delivery.carrier', 'Carrier' -
option_idsMany2many → delivery.carrier.optionstring='Options' args: 'delivery.carrier.option'
-
action_set_options(self)Apply options to picking of the batch This will replace all carrier options in picking -
carrier_id_change(self)@api.onchange('carrier_id')Inherit this method in your module -
create(self, values)@api.modelSet the default options when the delivery method is set on creation So we are sure that the options are always in line with the current delivery method. -
option_ids_change(self)@api.onchange('option_ids') -
purge_tracking_references(self)Purge tracking for each picking and destination package -
write(self, values)
Loading…
Loading…
Loading…