| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/sale-workflow |
| GIT | |
| GIT | https://github.com/OCA/sale-workflow.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/sale-workflow/tree/18.0/product_set_sell_only_by_packaging |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | Yes |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, trisdoan |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/sale-workflow |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:30:11 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
OCA/product-attribute: - product_packaging_level_salable - product_packaging_level - product_set OCA/sale-workflow: - sell_only_by_packaging - sale_product_set_packaging_qty - sale_product_set odoo/odoo: - stock - product - base - base_setup - web - bus - web_tour - html_editor - uom - barcodes_gs1_nomenclature - barcodes - digest - portal - web_editor - http_routing - auth_signup - resource - sale_stock - sale - sales_team - account_payment - account - onboarding - analytic - payment - utm - stock_account - sale_management |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
openupgradelib |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Glue module between sell_only_by_packaging and sale_product_set_packaging_qty. If sell_only_by_packaging is ON and there are product set lines without packaging selected, a warning is displayed in the product form and quick link to all involved lines allows to review them. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_template_form_view |
product.template.form.view | product.template | label | Inherits sell_only_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.list | product.set.line | list | New |
No new fields.
Public methods (1)action_view_product_set_lines_to_check(self)
sell_only_by_packaging
Boolean
related='product_id.sell_only_by_packaging'
cron_check_packaging(self)
sell_only_by_packaging_prod_set_tocheck
Boolean
compute='_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)