Guide to Uninstall cnf_cart_customizations Module
Purpose
This guide outlines the steps to uninstall the cnf_cart_customizations module from your Odoo environment. The module introduces minor visual changes to the shopping cart and has no impact on core e-commerce operations.
Module Overview
Description
The cnf_cart_customizations module includes:
- A note below the promo code field: "Only one promo code can apply to a single order"
- A custom placeholder in the promo code field: "Please enter code in ALL CAPS..."
Dependencies
The module depends on:
basetheme_clarico_vegawebsitepaymentwebsite_saleproduct
Reverse Dependencies
No other modules depend on cnf_cart_customizations.
⚠️ Note: If
theme_clarico_vegahas already been uninstalled, you'll need to update this module's manifest to remove that dependency before proceeding.
Uninstallation Steps
Option A: If theme_clarico_vega is Still Installed
- Backup the database (Optional)
docker exec -it cnf-postgres pg_dump -U odoo communitynaturalfoods-master-963663 > backup_before_cnf_cart.sql
-
Uninstall from Odoo interface
-
Go to Apps > Installed Modules
- Search for
cnf_cart_customizations - Click Uninstall and confirm
Option B: If theme_clarico_vega is Already Uninstalled
- Backup the database
docker exec -it cnf-postgres pg_dump -U odoo communitynaturalfoods-master-963663 > backup_before_cnf_cart.sql
- Edit the manifest to remove the dependency
In
custom_addons/cnf_cart_customizations/__manifest__.py, comment out:
- Restart Odoo
-
Upgrade the module
-
Go to Apps > Installed Modules
- Search for
cnf_cart_customizations -
Click the three dots > Upgrade
-
Uninstall the module
-
After upgrading, click Uninstall
Post-Uninstallation Checks
-
Verify Cart Behavior
-
Visit the website and add items to the cart
- Ensure the custom promo code note is gone
-
Ensure the promo code placeholder is back to default
-
Check Installed Modules
-
In Apps, search for
cnf_cart_customizations -
It should show as Not Installed or not appear
-
Check Logs
Rollback Instructions (If Needed)
make stop
docker exec -i cnf-postgres psql -U odoo -c "DROP DATABASE \"communitynaturalfoods-master-963663\";"
docker exec -i cnf-postgres psql -U odoo -c "CREATE DATABASE \"communitynaturalfoods-master-963663\";"
docker exec -i cnf-postgres psql -U odoo communitynaturalfoods-master-963663 < backup_before_cnf_cart.sql
make start
Final Result
- ✅
cnf_cart_customizationssuccessfully uninstalled - ✅ Cart UI reverted to default appearance
- ✅ No dependent modules were affected
- ✅ Core cart and e-commerce functionality remains intact
Additional Notes
- The module only makes minor changes to the user interface
- It does not impact backend or transactional logic
- Safe to uninstall in most environments