Product Packaging Container Deposit
product_packaging_container_deposit · OCA/product-attribute
Health
62/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 21 months ago
-
Required by20/253 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
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.07 MB
Module directory on disk
Code analysis
0 migration notes
4 models
1 view
0 HTTP endpoints
Description
Dependencies
- 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
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
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.