TIP: You can type at any time to perform a new search.
Product Packaging Container Deposit
product_packaging_container_deposit · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 1.2.1
- Category
- Product
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/product-attribute
- Last tracking update
- 2026-08-07 08:09:19
- Authors
- Camptocamp, Odoo Community Association (OCA), BCIM
- Maintainers
- Camptocamp, Odoo Community Association (OCA), BCIM
- Committers
- Simone Orsi, Jacques-Etienne Baudoux, Alexandre Fayolle, Sébastien Alix, Weblate, OCA-git-bot, oca-ci, Telmo Santos, duongtq, chaule97
- Odoo dependencies
- Python dependencies
- openupgradelib
- System dependencies
- None
- Required by
- pos_product_packaging_container_deposit, purchase_product_packaging_container_deposit, sale_product_packaging_container_deposit
- Description
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_package_type_form_container_deposit |
stock.package.type.form.container.deposit | stock.package.type | form | Inherits stock.stock_package_type_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (1)
-
is_container_depositBoolean
-
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_idMany2one → product.productdomain=[('type', '=', 'service')] args: 'product.product'
No public methods.