TIP: You can type at any time to perform a new search.
Sale Product Set Sale by packaging
sale_product_set_sale_by_packaging · OCA/sale-workflow
Security findings
Migration considerations
product_template_form_view— For a target of Odoo 17.0+: view 'product_template_form_view' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_product_set_line_tree— For a target of Odoo 17.0+: view 'view_product_set_line_tree' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_product_set_line_tree— View 'view_product_set_line_tree' is defined with a `<tree>` root tag: renamed to `<list>` in Odoo 18.0. migration-view-tree-tag · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/sale-workflow · module folder · Try on Runboat
- Module version
- 1.0.2
- Category
- Warehouse Management
- Folder size
- 0.06 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- https://github.com/OCA/sale-workflow
- Last tracking update
- 2026-08-07 07:47:29
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Sébastien Alix, Weblate, OCA-git-bot, oca-travis, oca-ci, Alessandro Uffreduzzi, sonhd
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis
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…