TIP: You can type at any time to perform a new search.
Purchase Exception
purchase_exception · OCA/purchase-workflow
- Repository
- OCA/purchase-workflow · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Generic Modules/Purchase
- Folder size
- 0.08 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/purchase-workflow
- Last tracking update
- 2026-08-07 08:42:58
- Authors
- Akretion, Odoo Community Association (OCA)
- Maintainers
- Akretion, Odoo Community Association (OCA)
- Committers
- Ricardoalso, Maksym Yankin, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_th_gov_purchase_request, purchase_order_approval_block
- Description
This module allows you attach several customizable exceptions to your purchase order in a way that you can filter orders by exceptions type and fix them. This is especially useful in an scenario for mass purchases order import, because it's likely some orders have errors when you import them (like product not found in Odoo, wrong line format etc.)
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form |
purchase_exception.view_order_form | purchase.order | form | Inherits purchase.purchase_order_form |
view_order_tree |
purchase_exception.view_order_tree | purchase.order | tree | Inherits purchase.purchase_order_tree |
view_purchase_order_filter |
purchase_exception.view_purchases_order_filter | purchase.order | Inherits purchase.view_purchase_order_filter |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (2)
-
modelSelectionondelete={'purchase.order': 'cascade', 'purchase.order.line': 'cascade'}selection_add=[('purchase.order', 'Purchase order'), ('purchase.order.line', 'Purchase order line')] -
purchase_idsMany2many → purchase.ordercomodel_name='purchase.order'string='Purchases'
No public methods.
New fields (1)
-
related_model_idMany2one → purchase.orderargs: 'purchase.order', 'Purchase'
-
action_confirm(self)
New fields (0)
No new fields.
Public methods (6)-
button_confirm(self) -
button_draft(self) -
detect_exceptions(self) -
purchase_check_exception(self) -
test_all_draft_orders(self)@api.model -
write(self, vals)
New fields (1)
-
ignore_exceptionBooleanrelated='order_id.ignore_exception'store=Truestring='Ignore Exceptions'
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 6 days ago
- Last activity
- 3 days ago
- Repository
- OCA/purchase-workflow
- Pull request
- [19.0][MIG] purchase_exception: Migration to 19.0 (#3150)