Product Packaging Container Deposit

product_packaging_container_deposit
REPOSITORY
REPOSITORYOCA/product-attribute
GIT
GIThttps://github.com/OCA/product-attribute.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-attribute/tree/16.0/product_packaging_container_deposit
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYProduct
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp, BCIM
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp, BCIM
COMMITTERS
COMMITTERSAlexandre Fayolle, Jacques-Etienne Baudoux, Sébastien Alix, Weblate, OCA-git-bot, Simone Orsi, oca-ci, Telmo Santos, duongtq, chaule97
WEBSITE
WEBSITEhttps://github.com/OCA/product-attribute
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-attribute:
    - product_packaging_level
odoo/odoo:
    - stock
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - uom
    - barcodes_gs1_nomenclature
    - barcodes
    - digest
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
stock_package_type_form_container_deposit stock.package.type.form.container.deposit stock.package.type field Inherits stock.stock_package_type_form
Models touched (4)

New fields (1)
  • is_container_deposit Boolean
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (0)

No new fields.

Public methods (4)
  • copy(self, default=None)
  • prepare_deposit_container_line(self, product, qty)
  • update_order_container_deposit_quantity(self)
  • write(self, vals)

New fields (0)

No new fields.

Public methods (1)
  • get_product_container_deposit_quantities(self, qty, forced_packaging=False)
    Get the quantity of deposit per packaging level for a given product quantity :return a dict with quantity of deposit per packaging level for a given product quantity { "PL1": (CP1, QTY), "PLn": (CPn, QTYn) }

New fields (1)
  • container_deposit_product_id Many2one → product.product
    domain=[('type', '=', 'service')] args: 'product.product'
Public methods (0)

No public methods.