Purchase Only By Packaging
purchase_only_by_packaging · OCA/purchase-workflow
Health
47/100
poor
-
Security25/25No findings
-
Activity12/25Last human commit 22 months ago
-
Required by5/250 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
0
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.08 MB
Module directory on disk
Code analysis
2 migration notes
5 models
5 views
0 HTTP endpoints
Migration considerations
product_product_tree_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceproduct_template_form_view— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
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.tree.view.inherit | product.packaging | tree | Inherits product.product_packaging_tree_view |
product_product_tree_view |
product.product.tree.inherit | product.product | tree | 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.tree.inherit | product.template | tree | Inherits product.product_template_tree_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
force_purchase_qtyBooleanhelp='Determine if during the creation of a purchase order line, the quantity should be forced with a multiple of the packaging.\nExample:\nYou purchase 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 purchase quantity'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
min_purchasable_qtyFloatcompute='_compute_variant_min_purchasable_qty'help='Minimum purchasable quantity, according to the available packagings, if Only Purchase by Packaging is set.'
No public methods.
New fields (2)
-
min_purchasable_qtyFloatcompute='_compute_template_min_purchasable_qty'help='Minimum purchasable quantity, according to the available packagings, if Only Purchase by Packaging is set.' -
purchase_only_by_packagingBooleancompany_dependent=Truedefault=Falsehelp='Restrict the usage of this product on purchase order lines without packaging defined'string='Only purchase by packaging'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.