-
Security25/25No findings
-
Activity25/25Last human commit 5 months ago
-
Required by15/251 module depends on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module provides different configuration option to manage packagings on sale orders.
The creation/update of sale order line will be blocked (by constraints) if the data on the sale.order.line does not fit with the configuration of the product's packagings.
It's also possible to force the quantity to sell during creation/modification of the sale order line if the "Force sale quantity" is ticked on the packaging and the "Sell only by packaging" is ticked on product.
For example, if your packaging is set to sell by 5 units and the employee fill the quantity with 3, the quantity will be automatically replaced by 5 (it always rounds up).
Dependencies
- Odoo dependencies
- Python dependencies
- openupgradelib
- System dependencies
- None
- Required by
- product_set_sell_only_by_packaging
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_packaging_form_view_inherit |
product.packaging.form.view.inherit | product.packaging | form | Inherits product.product_packaging_form_view |
product_packaging_tree_view_inherit |
product.packaging.list.view.inherit | product.packaging | list | Inherits product.product_packaging_tree_view |
product_product_tree_view |
product.product.list.inherit | product.product | list | Inherits product.product_product_tree_view |
product_template_form_view |
product.template.form.view | product.template | form | Inherits product.product_template_form_view |
product_template_tree_view |
product.template.list.inherit | product.template | list | Inherits product.product_template_tree_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
-
force_sale_qtyBooleanhelp='Determine if during the creation of a sale order line, the quantity should be forced with a multiple of the packaging.\nExample:\nYou sell a product by packaging of 5 products.\nWhen the user will put 3 as quantity, the system can force the quantity to the superior unit (5 for this example).'string='Force sale quantity'
No public methods.
No new fields.
Public methods (0)No public methods.
-
min_sellable_qtyFloatcompute='_compute_variant_min_sellable_qty'help='Minimum sellable quantity, according to the available packagings, if Only Sell by Packaging is set.'
No public methods.
-
min_sellable_qtyFloatcompute='_compute_template_min_sellable_qty'help='Minimum sellable quantity, according to the available packagings, if Only Sell by Packaging is set.' -
sell_only_by_packagingBooleancompany_dependent=Truecopy=Falsedefault=Falsehelp='Restrict the usage of this product on sale order lines without packaging defined'string='Only sell by packaging'
No public methods.
No new fields.
Public methods (0)No public methods.
Loading…
Loading…