Sale Product Set Sale by packaging
sale_product_set_sale_by_packaging · OCA/sale-workflow
Renamed to product_set_sell_only_by_packaging in 18.0
Health
42/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 37 months ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
4 migration notes
3 models
3 views
0 HTTP endpoints
Migration considerations
cron_check_packaging— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · 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 · sourceview_product_set_line_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_product_set_line_tree— 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
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view |
product.template.form.view | product.template | form | Inherits sale_by_packaging.product_template_form_view |
view_product_set_line_search |
product.set.line.search | product.set.line | search | New |
view_product_set_line_tree |
product.set.line.tree | product.set.line | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (1)-
action_view_product_set_lines_to_check(self)
New fields (1)
-
sell_only_by_packagingBooleanrelated='product_id.sell_only_by_packaging'
-
cron_check_packaging(self)@api.modelEnsure lines are tied to the right packaging. When * packaging cannot be sold anymore * lines are tied to a product that can be sold only by packaging and have no packaging change the packaging on the line to the 1st saleable packaging.
New fields (1)
-
sell_only_by_packaging_prod_set_tocheckBooleancompute='_compute_sell_only_by_packaging_prod_set_tocheck'help='If this flag is ON, it means you have to check all product.set associated with it'
-
action_view_product_set_lines_to_check(self)
Loading…