Stock Quant Package Product Packaging
stock_quant_package_product_packaging · OCA/stock-logistics-tracking
OCA/stock-logistics-workflow 10.0–17.0 → OCA/stock-logistics-tracking 18.0
-
Security25/25No findings
-
Activity12/25Last human commit 13 months ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 6 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module allows to define on a Product Package (stock.quant.package), a Packaging Type (product.packaging) that is linked to a product, if said package only contains Quants (stock.quants) from this product, and the sum of the quants quantities is equal to the Packaging quantity.
If such a packaging exists, it will be automatically assigned to a package after the move is set to done.
The module also computes the package type of the package when products are put in a package. The computation is done based on the number of products in the package.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
stock_quant_package_tree_view |
stock.quant.package.tree.package.reusable | stock.quant.package | tree | Inherits stock.view_quant_package_tree |
view_quant_package_form_inherit |
stock.quant.package.form.inherit | stock.quant.package | form | Inherits stock.view_quant_package_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
No new fields.
Public methods (0)No public methods.
-
package_type_idMany2one → stock.package.typehelp="Defines a 'default' package type for this product to be applied on packages without product packagings and on put-away computation based on package type for product not in a package"string='Package type' args: 'stock.package.type'
No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
move_quants(self, location_dest_id=False, package_dest_id=False, message=False, unpack=False)
-
product_packaging_idMany2one → product.packaginghelp='Packaging of the product, used for internal logisticstransfers, put-away rules, ...'index=True args: 'product.packaging', 'Product Packaging' -
reset_package_typeBooleandefault=Truehelp='When set the package type will be reset on unpacking' -
single_product_idMany2one → product.productcompute='_compute_single_product' args: 'product.product' -
single_product_qtyFloatcompute='_compute_single_product'
-
auto_assign_packaging(self) -
create(self, vals)@api.model_create_multi -
write(self, vals)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…