TIP: You can type at any time to perform a new search.
Product Exception
product_exception · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 2.0.0
- Category
- Quality
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/product-attribute
- Last tracking update
- 2026-08-07 07:38:25
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Weblate, OCA-git-bot, oca-ci, GuillemCForgeFlow
- 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_exception | product.template | form | Inherits product.product_template_form_view |
product_template_search_view |
product.template | search | Inherits product.product_template_search_view | |
product_template_tree_view |
product.template | tree | Inherits product.product_template_tree_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (3)
New fields (2)
-
modelSelectionselection_add=[('product.template', 'Product Template'), ('product.product', 'Product Variant')] -
product_tmpl_idsMany2many → product.templatestring='Product Templates' args: 'product.template'
No public methods.
New fields (1)
-
exception_idsMany2manyrelated='product_tmpl_id.exception_ids'
-
action_product_detect_exceptions(self)Manually trigger to calculate the Exceptions. For Variants calculate for them only -
create(self, vals)@api.modelUpon creation, check if the Product Variant has any Exception, if so, raise a Validation Error -
product_check_exception(self) -
write(self, vals)When changing one of the trigger fields, check if the Product Variant has any Exception, if so, raise a Validation Error
New fields (0)
No new fields.
Public methods (6)-
action_product_detect_exceptions(self)Manually trigger to calculate the Exceptions. For Templates, calculate for them and for their respective Product Variants -
check_product_template_cron(self)@api.model -
create(self, vals)@api.modelUpon creation, check if the Product Template has any Exception, if so, raise a Validation Error -
detect_exceptions(self) -
product_check_exception(self) -
write(self, vals)When changing one of the trigger fields, check if the Product Template has any Exception, if so, raise a Validation Error
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 253 days ago
- Last activity
- 81 days ago
- Repository
- OCA/product-attribute
- Pull request
- [18.0][MIG] product_exception (#2161)