Quickpac

l10n_ch_delivery_carrier_label_quickpac
REPOSITORY
REPOSITORYOCA/l10n-switzerland
GIT
GIThttps://github.com/OCA/l10n-switzerland.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-switzerland/tree/14.0/l10n_ch_delivery_carrier_label_quickpac
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSCamptocamp
COMMITTERS
COMMITTERSoca-travis, OCA-git-bot, Stephane Mangin, Hai Lang
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-switzerland
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/delivery-carrier:
    - base_delivery_carrier_label
    - delivery_carrier_info
    - delivery_carrier_label_batch
OCA/server-tools:
    - configuration_helper
OCA/stock-logistics-workflow:
    - stock_picking_batch_extended
odoo/odoo:
    - delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
    - stock_account
    - stock
    - barcodes
    - sale_management
    - stock_picking_batch
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES quickpac
unidecode
PyPDF2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
delivery_carrier_option_view_form delivery_base.delivery_carrier_option.view_form delivery.carrier.option field Inherits base_delivery_carrier_label.delivery_carrier_option_view_form
view_delivery_carrier_form delivery_base.delivery.carrier.view_form delivery.carrier field Inherits base_delivery_carrier_label.view_delivery_carrier_form
view_delivery_carrier_form_delivery delivery.carrier.form delivery.carrier xpath Inherits delivery.view_delivery_carrier_form
view_quickpac_config_settings quickpac settings res.config.settings xpath Inherits base.res_config_settings_view_form
Models touched (6)

New fields (2)
  • allowed_tmpl_options_ids Many2many → delivery.carrier.template.option
    compute='_compute_allowed_options_ids' args: 'delivery.carrier.template.option'
  • delivery_type Selection
    ondelete={'quickpac': 'set default'} selection_add=[('quickpac', 'Quickpac')]
Public methods (3)
  • quickpac_cancel_shipment(self, pickings)
  • quickpac_get_tracking_link(self, picking)
    @api.model
  • quickpac_send_shipping(self, pickings)
    This will generate the labels for all the packages of the picking.

New fields (2)
  • allowed_tmpl_options_ids Many2many → delivery.carrier.template.option
    compute='_compute_allowed_tmpl_options_ids' store=False args: 'delivery.carrier.template.option'
  • name Char
    related='tmpl_option_id.name'
Public methods (0)

No public methods.

New fields (2)
  • name Char
    translate=True
  • quickpac_type Selection
    selection=QUICKPAC_TYPES string='Quickpac option type'
Public methods (0)

No public methods.

New fields (10)
  • quickpac_franking_license Char
    args: 'Franking License'
  • quickpac_label_layout Many2one → delivery.carrier.template.option
    domain=[('quickpac_type', '=', 'label_layout')] args: 'delivery.carrier.template.option', 'Default label layout'
  • quickpac_logo Binary
    help='Optional company logo to show on label.\nIf using an image / logo, please note the following:\n– Image width: 47 mm\n– Image height: 25 mm\n– File size: max. 30 kb\n– File format: GIF or PNG\n– Colour table: indexed colours, max. 200 colours\n– The logo will be printed rotated counter-clockwise by 90°\nWe recommend using a black and white logo for printing in the ZPL2 format.' string='Company Logo on Post labels'
  • quickpac_office Char
    help='Post office which will receive the shipped goods' string='Domicile Post office'
  • quickpac_output_format Many2one → delivery.carrier.template.option
    domain=[('quickpac_type', '=', 'output_format')] args: 'delivery.carrier.template.option', 'Default output format'
  • quickpac_password Char
    args: 'Password'
  • quickpac_resolution Many2one → delivery.carrier.template.option
    domain=[('quickpac_type', '=', 'resolution')] args: 'delivery.carrier.template.option', 'Default resolution'
  • quickpac_tracking_format Selection
    default='quickpac' args: [('quickpac', 'Use default quickpac tracking numbers'), ('picking_num', 'Use picking number with pack counter')], 'Tracking number format'
  • quickpac_tracking_url Char
    default='https://quickpac.ch/{lang}/tracking/{number}' help='Available variables to configure: \n {lang} = the lang to display (de, en, fr, it) \n {number} = the tracking number (i.e. 440010370000000034)' args: 'Tracking URL'
  • quickpac_username Char
    args: 'Username'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • onchange_carrier_id(self)