Add option to archive product categories
This module allows you to archive product categories.
Table of contents
To use this module, you need to:
- Go to Inventory > Configuration > Products > Product categories.
- Select a product category or create a new one.
- Click on the smart button Archive (this action will set active field to False).
Note: If there are products in the category to be archived or any of its children categories, an error will be raised and it won't be archived.
Note 2: Children category are not archived/unarchived when the parent category does.
- when you try to deactivate a category from the tree view by clicking on the boolean_toggle widget, if a validation error pop-up appears indicating that the element cannot be deactivated, then the element is NOT deactivated, although the corresponding line turns gray as if it had been disabled, until that tree view is refreshed.
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/product-attribute project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Once the user has seen at least one product this snippet will be visible.