OdooWiki OCA HUB

Purchase Order Archive

purchase_order_archive folder_open OCA/purchase-workflow open_in_new
Purchases License: AGPL-3

On a system with a high volume of purchases, the number of purchase orders displayed in the list view can become huge. This module allows to archive Purchase Orders that are in status Locked or Cancelled.

If a purchase order is archived, it will be hidden from the purchase orders list view.

This module only depends on module purchase, but it could be used in combination with OCA module 'record_archiver' in order to automatically archive old purchase orders.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

This module lets you archive purchase orders that are Locked or Cancelled, hiding them from the normal purchase orders list. Archived orders show a red 'Archived' ribbon and can be found again with a dedicated search filter.

On systems with many purchase orders, the purchase orders list can become very long. This module adds an archive option for purchase orders, but only when the order is in a Locked state or has been Cancelled. If you try to archive an order that is still in another state, Odoo shows an error message and refuses the action.

Once an order is archived, it disappears from the standard purchase orders list. On the order form, a red 'Archived' ribbon appears at the top so you can immediately see that the record is archived. A new 'Archived' filter is added to the purchase orders search bar, so you can still find archived orders when needed.

Archived orders are protected: as long as an order is archived, its state cannot be changed. Odoo raises an error asking you to unarchive the record first before making any changes.

The module works on the purchase.order model and only depends on the standard Purchase app. It can be combined with other tools that archive old records automatically, but that automation is not part of this module.

Depends on

purchase
Models and fields (1)
  • purchase.order · extends an existing modelactive

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/purchase-workflow.

terminal Installation and usage

OCA documentation · Odoo 19.0

To archive purchase orders, you need to:

  • Open the tree view of purchase orders.
  • Select a purchase order (in status Locked or Cancelled) you want to archive.
  • Click on Action \> Archive. Confirm.
  • The purchase order is now archived.

To unarchive purchase orders, you need to:

  • Open the tree view of purchase orders.
  • In the filter box select the Archived filter. The list of archived purchase orders will be displayed.
  • Select the purchase order (in status Locked or Cancelled) you want to restore to Active.
  • Click on Action \> Unarchive.
  • The purchase order is now active.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.