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 IDNameModelTypeStatus
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)
  • model Selection
    ondelete={'purchase.order': 'cascade', 'purchase.order.line': 'cascade'} selection_add=[('purchase.order', 'Purchase order'), ('purchase.order.line', 'Purchase order line')]
  • purchase_ids Many2many → purchase.order
    comodel_name='purchase.order' string='Purchases'
Public methods (0)

No public methods.

New fields (1)
  • related_model_id Many2one → purchase.order
    args: 'purchase.order', 'Purchase'
Public methods (1)
  • 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_exception Boolean
    related='order_id.ignore_exception' store=True string='Ignore Exceptions'
Public methods (0)

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
7 days ago
Last activity
4 days ago
Repository
OCA/purchase-workflow
Pull request
[19.0][MIG] purchase_exception: Migration to 19.0 (#3150)