This module allows to set options on product states that will trigger the activation or deactivation (Archive) of the products.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets you mark a product state so that products automatically get archived or un-archived when they reach that state, and prevents a state from doing both at once.
This module extends the product state feature. On each product state record you now get two extra checkboxes: one to archive the product when it reaches that state, and one to un-archive it.
- When a product's state is changed to a state marked to deactivate, the product is automatically archived (made inactive).
- When a product's state is changed to a state marked to activate, the product is automatically un-archived (made active again).
- A state cannot be set to both archive and un-archive at the same time; Odoo blocks this with a validation message.
The two new options appear on the product state form, right after the state code field. The behaviour is applied on product.template whenever the product state is set. This works together with the base product state module, which provides the states themselves.
Depends on
Models and fields (1)
- product.state · extends an existing modelactivate_product, deactivate_product
Text generated by AI (DeepSeek) from reading the Odoo 18.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-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/product-attribute.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0- Go to Sales \> Configuration \> Products \> Product States.
- Check the box 'Activate Product' or 'Deactivate Product'
To deactivate the product:
- Go to the product itself and edit.
- Click on the state you have configured to deactivate it
To deactivate the product:
- Go to the product itself and edit.
- Click on the state you have configured to activate it
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.