Delivery Package Number

delivery_package_number
REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/19.0/delivery_package_number
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, eugenio
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:49
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - delivery
    - payment_custom
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module recovers the number of packages field that was present in
previous versions of Odoo, that can be either be set manually by the
user, but also allows to be computed when the delivery packages flow is
used.

This field can be used by delivery carrier extensions that need such
info to rate the shipment, print the labels, etc.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
delivery_package_number_document delivery_package_number_document ir.ui.view qweb New
delivery_package_number_report delivery_package_number_report ir.ui.view qweb New
view_number_package_validate stock.number.package.validate.wizard stock.number.package.validate.wizard form New
view_picking_type_form stock.picking.type xpath Inherits stock.view_picking_type_form
view_picking_withcarrier_out_form stock.picking xpath Inherits stock_delivery.view_picking_withcarrier_out_form
Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • process(self)

New fields (3)
  • number_of_packages Integer
    readonly=False related='picking_id.number_of_packages'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • wiz_id Many2one → stock.number.package.validate.wizard
    comodel_name='stock.number.package.validate.wizard' readonly=True
Public methods (0)

No public methods.

New fields (4)
  • number_of_packages Integer
    help='Set the number of packages for this picking(s)'
  • pick_ids Many2many → stock.picking
    args: 'stock.picking', 'stock_picking_number_package_rel'
  • print_package_label Boolean
    compute='_compute_print_package_label' readonly=False store=True
  • stock_number_package_validation_line_ids One2many → stock.number.package.validate.line.wizard
    comodel_name='stock.number.package.validate.line.wizard' compute='_compute_stock_number_package_validation_line_ids' inverse_name='wiz_id' readonly=False store=True
Public methods (1)
  • process(self)

New fields (2)
  • ask_number_of_packages Boolean
    compute='_compute_ask_number_of_packages'
  • number_of_packages Integer
    compute='_compute_number_of_packages' copy=False default=0 readonly=False store=True string='Number of Packages'
Public methods (0)

No public methods.

New fields (3)
  • avoid_set_number_of_packages Boolean
  • force_set_number_of_packages Boolean
  • report_number_of_packages Many2one → ir.actions.report
    default=<expr> domain=[('model', '=', 'stock.picking')] args: 'ir.actions.report'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/18.0/delivery_package_number
VERSION
VERSION 2.1.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSsergio-teruel, Weblate, OCA-git-bot, oca-ci, Carlos Roca
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - delivery
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module recovers the number of packages field that was present in
previous versions of Odoo, that can be either be set manually by the
user, but also allows to be computed when the delivery packages flow is
used.

This field can be used by delivery carrier extensions that need such
info to rate the shipment, print the labels, etc.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
delivery_package_number_document delivery_package_number_document ir.ui.view qweb New
delivery_package_number_report delivery_package_number_report ir.ui.view qweb New
view_number_package_validate stock.number.package.validate.wizard stock.number.package.validate.wizard form New
view_partner_stock_form res.partner xpath Inherits stock.view_partner_stock_form
view_picking_type_form stock.picking.type xpath Inherits stock.view_picking_type_form
view_picking_withcarrier_out_form stock.picking xpath Inherits stock_delivery.view_picking_withcarrier_out_form
Models touched (6)

New fields (1)
  • force_set_number_of_packages Boolean
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • process(self)

New fields (3)
  • number_of_packages Integer
    readonly=False related='picking_id.number_of_packages'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • wiz_id Many2one → stock.number.package.validate.wizard
    comodel_name='stock.number.package.validate.wizard' readonly=True
Public methods (0)

No public methods.

New fields (4)
  • number_of_packages Integer
    help='Set the number of packages for this picking(s)'
  • pick_ids Many2many → stock.picking
    args: 'stock.picking', 'stock_picking_number_package_rel'
  • print_package_label Boolean
    compute='_compute_print_package_label' readonly=False store=True
  • stock_number_package_validation_line_ids One2many → stock.number.package.validate.line.wizard
    comodel_name='stock.number.package.validate.line.wizard' compute='_compute_stock_number_package_validation_line_ids' inverse_name='wiz_id' readonly=False store=True
Public methods (1)
  • process(self)

New fields (2)
  • ask_number_of_packages Boolean
    compute='_compute_ask_number_of_packages'
  • number_of_packages Integer
    compute='_compute_number_of_packages' copy=False default=0 readonly=False store=True string='Number of Packages'
Public methods (0)

No public methods.

New fields (3)
  • avoid_set_number_of_packages Boolean
  • force_set_number_of_packages Selection
    args: [('always', 'Always'), ('partner', 'Partner condition')]
  • report_number_of_packages Many2one → ir.actions.report
    default=<expr> args: 'ir.actions.report'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/17.0/delivery_package_number
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, pablo-cort-s73
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:08
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - stock_delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - delivery
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module recovers the number of packages field that was present in
previous versions of Odoo, that can be either be set manually by the
user, but also allows to be computed when the delivery packages flow is
used.

This field can be used by delivery carrier extensions that need such
info to rate the shipment, print the labels, etc.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
delivery_package_number_document delivery_package_number_document ir.ui.view qweb New
delivery_package_number_report delivery_package_number_report ir.ui.view qweb New
view_number_package_validate stock.number.package.validate.wizard stock.number.package.validate.wizard form New
view_picking_type_form stock.picking.type xpath Inherits stock.view_picking_type_form
view_picking_withcarrier_out_form stock.picking xpath Inherits stock_delivery.view_picking_withcarrier_out_form
Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • process(self)

New fields (3)
  • number_of_packages Integer
    readonly=False related='picking_id.number_of_packages'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • wiz_id Many2one → stock.number.package.validate.wizard
    comodel_name='stock.number.package.validate.wizard' readonly=True
Public methods (0)

No public methods.

New fields (4)
  • number_of_packages Integer
    help='Set the number of packages for this picking(s)'
  • pick_ids Many2many → stock.picking
    args: 'stock.picking', 'stock_picking_number_package_rel'
  • print_package_label Boolean
    compute='_compute_print_package_label' readonly=False store=True
  • stock_number_package_validation_line_ids One2many → stock.number.package.validate.line.wizard
    comodel_name='stock.number.package.validate.line.wizard' compute='_compute_stock_number_package_validation_line_ids' inverse_name='wiz_id' readonly=False store=True
Public methods (1)
  • process(self)

New fields (2)
  • ask_number_of_packages Boolean
    compute='_compute_ask_number_of_packages'
  • number_of_packages Integer
    compute='_compute_number_of_packages' copy=False default=0 readonly=False store=True string='Number of Packages'
Public methods (0)

No public methods.

New fields (2)
  • force_set_number_of_packages Boolean
  • report_number_of_packages Many2one → ir.actions.report
    default=<expr> args: 'ir.actions.report'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/16.0/delivery_package_number
VERSION
VERSION 3.0.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, sergio-teruel, Weblate, OCA-git-bot, David, oca-ci, Carlos Roca, angel, Adasat Torres de León, sygel
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - account_payment
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - payment
    - utm
    - stock_account
    - stock
    - barcodes_gs1_nomenclature
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
delivery_package_number_document delivery_package_number_document ir.ui.view qweb New
delivery_package_number_report delivery_package_number_report ir.ui.view qweb New
view_number_package_validate stock.number.package.validate.wizard stock.number.package.validate.wizard form New
view_partner_stock_form res.partner xpath Inherits stock.view_partner_stock_form
view_picking_type_form stock.picking.type xpath Inherits stock.view_picking_type_form
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
Models touched (7)

New fields (1)
  • force_set_number_of_packages Boolean
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • process(self)

New fields (0)

No new fields.

Public methods (1)
  • process(self)

New fields (3)
  • number_of_packages Integer
    readonly=False related='picking_id.number_of_packages'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • wiz_id Many2one → stock.number.package.validate.wizard
    comodel_name='stock.number.package.validate.wizard' readonly=True
Public methods (0)

No public methods.

New fields (4)
  • number_of_packages Integer
    help='Set the number of packages for this picking(s)'
  • pick_ids Many2many → stock.picking
    args: 'stock.picking', 'stock_picking_number_package_rel'
  • print_package_label Boolean
    compute='_compute_print_package_label' readonly=False store=True
  • stock_number_package_validation_line_ids One2many → stock.number.package.validate.line.wizard
    comodel_name='stock.number.package.validate.line.wizard' compute='_compute_stock_number_package_validation_line_ids' inverse_name='wiz_id' readonly=False store=True
Public methods (1)
  • process(self)

New fields (2)
  • ask_number_of_packages Boolean
    compute='_compute_ask_number_of_packages'
  • number_of_packages Integer
    compute='_compute_number_of_packages' copy=False default=0 readonly=False store=True string='Number of Packages'
Public methods (0)

No public methods.

New fields (2)
  • force_set_number_of_packages Selection
    args: [('always', 'Always'), ('partner', 'Partner condition')]
  • report_number_of_packages Many2one → ir.actions.report
    default=<expr> args: 'ir.actions.report'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/15.0/delivery_package_number
VERSION
VERSION 2.2.1
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, sergio-teruel, Víctor Martínez, Weblate, OCA-git-bot, David, oca-ci, angel
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:38
ODOO DEPENDENCIES
ODOO DEPENDENCIES 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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
delivery_package_number_document delivery_package_number_document ir.ui.view qweb New
delivery_package_number_report delivery_package_number_report ir.ui.view qweb New
view_number_package_validate stock.number.package.validate.wizard stock.number.package.validate.wizard form New
view_picking_type_form stock.picking.type xpath Inherits stock.view_picking_type_form
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
Models touched (6)

New fields (0)

No new fields.

Public methods (1)
  • process(self)

New fields (0)

No new fields.

Public methods (1)
  • process(self)

New fields (3)
  • number_of_packages Integer
    readonly=False related='picking_id.number_of_packages'
  • picking_id Many2one → stock.picking
    comodel_name='stock.picking'
  • wiz_id Many2one → stock.number.package.validate.wizard
    comodel_name='stock.number.package.validate.wizard' readonly=True
Public methods (0)

No public methods.

New fields (4)
  • number_of_packages Integer
    help='Set the number of packages for this picking(s)'
  • pick_ids Many2many → stock.picking
    args: 'stock.picking', 'stock_picking_number_package_rel'
  • print_package_label Boolean
    compute='_compute_print_package_label' readonly=False store=True
  • stock_number_package_validation_line_ids One2many → stock.number.package.validate.line.wizard
    comodel_name='stock.number.package.validate.line.wizard' compute='_compute_stock_number_package_validation_line_ids' inverse_name='wiz_id' readonly=False store=True
Public methods (1)
  • process(self)

New fields (2)
  • ask_number_of_packages Boolean
    compute='_compute_ask_number_of_packages'
  • number_of_packages Integer
    compute='_compute_number_of_packages' copy=False default=0 readonly=False store=True string='Number of Packages'
Public methods (0)

No public methods.

New fields (2)
  • force_set_number_of_packages Boolean
  • report_number_of_packages Many2one → ir.actions.report
    default=<expr> args: 'ir.actions.report'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/14.0/delivery_package_number
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSOCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, Abraham Anes, oca-ci, angel
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:05
ODOO DEPENDENCIES
ODOO DEPENDENCIES 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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
delivery_package_number_view_backorder_confirmation delivery.package.number.view.backorder.confirmation stock.backorder.confirmation xpath Inherits stock.view_backorder_confirmation
view_immediate_transfer stock.immediate.transfer xpath Inherits stock.view_immediate_transfer
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
Models touched (3)

New fields (2)
  • ask_number_of_packages Boolean
    compute='_compute_ask_number_of_packages'
  • number_of_packages Integer
    help='Set the number of packages for picking to be validated'
Public methods (1)
  • process(self)

New fields (2)
  • ask_number_of_packages Boolean
    compute='_compute_ask_number_of_packages'
  • number_of_packages Integer
    help='Set the number of packages for this picking(s)'
Public methods (1)
  • process(self)

New fields (1)
  • number_of_packages Integer
    compute='_compute_number_of_packages' copy=False default=0 readonly=False store=True string='Number of Packages'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/13.0/delivery_package_number
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSPedro M. Baeza, OCA Transbot, Víctor Martínez, oca-travis, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:16
ODOO DEPENDENCIES
ODOO DEPENDENCIES 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
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_immediate_transfer stock.immediate.transfer xpath Inherits stock.view_immediate_transfer
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
Models touched (3)

New fields (2)
  • ask_number_of_packages Boolean
    compute='_compute_ask_number_of_packages'
  • number_of_packages Integer
    help='Set the number of packages for this picking(s)'
Public methods (1)
  • process(self)

New fields (0)

No new fields.

Public methods (2)
  • onchange_package_ids(self)
    @api.onchange('result_package_id')
    TODO: in v13 Change field to compute readonly=False
  • write(self, vals)
    TODO: in v13 Change field to compute readonly=False

New fields (1)
  • number_of_packages Integer
    copy=False default=1 string='Number of Packages'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/delivery-carrier
GIT
GIThttps://github.com/OCA/delivery-carrier.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/delivery-carrier/tree/12.0/delivery_package_number
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYDelivery
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSTecnativa, Odoo Community Association (OCA)
MAINTAINERS
MAINTAINERSTecnativa, Odoo Community Association (OCA)
COMMITTERS
COMMITTERSdavid, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/delivery-carrier
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - delivery
    - sale_stock
    - sale
    - sales_team
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - payment
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - stock_account
    - stock
    - barcodes
    - sale_management
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
view_immediate_transfer stock.immediate.transfer xpath Inherits stock.view_immediate_transfer
view_picking_withcarrier_out_form stock.picking xpath Inherits delivery.view_picking_withcarrier_out_form
Models touched (3)

New fields (1)
  • number_of_packages Integer
    help='Set the number of packages for this picking(s)'
Public methods (1)
  • process(self)

New fields (0)

No new fields.

Public methods (2)
  • onchange_package_ids(self)
    @api.onchange('result_package_id')
    TODO: in v13 Change field to compute readonly=False
  • write(self, vals)
    TODO: in v13 Change field to compute readonly=False

New fields (1)
  • number_of_packages Integer
    copy=False default=1 string='Number of Packages'
Public methods (0)

No public methods.