TIP: You can type at any time to perform a new search.
Stock Quant Package Product Packaging
stock_quant_package_product_packaging · OCA/stock-logistics-tracking
- Repository
- OCA/stock-logistics-tracking · module folder · Try on Runboat
- Module version
- 1.3.0
- Category
- Warehouse Management
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/stock-logistics-tracking
- Last tracking update
- 2026-08-07 08:42:55
- Authors
- Camptocamp, Odoo Community Association (OCA), BCIM
- Maintainers
- Camptocamp, Odoo Community Association (OCA), BCIM
- Committers
- Simone Orsi, Jacques-Etienne Baudoux, Thierry Ducrest, Weblate, OCA-git-bot, oca-ci, arantxa-s73
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- shopfloor, stock_quant_package_dimension
- 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.
Code Analysis ⓘ
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)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
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.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (1)-
move_quants(self, location_dest_id=False, package_dest_id=False, message=False, unpack=False)
New fields (4)
-
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)
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 3 days ago
- Last activity
- 3 days ago
- Repository
- OCA/stock-logistics-tracking
- Pull request
- [19.0][ADD] stock_package_product_packaging (Renamed from stock_quant_package_product_packaging) (#63)