|
| 1 | +# OpenSPP Branding Kit for Odoo 17 |
| 2 | + |
| 3 | +A comprehensive debranding and rebranding module for Odoo 17 that replaces all Odoo branding with OpenSPP |
| 4 | +branding throughout the platform. |
| 5 | + |
| 6 | +## Features |
| 7 | + |
| 8 | +### Complete Debranding |
| 9 | + |
| 10 | +- ✅ Removes "Powered by Odoo" messages from all interfaces |
| 11 | +- ✅ Eliminates Odoo.com links and references |
| 12 | +- ✅ Disables telemetry and external communications |
| 13 | +- ✅ Removes enterprise promotion elements |
| 14 | +- ✅ Hides app store and theme store links |
| 15 | + |
| 16 | +### Custom Branding |
| 17 | + |
| 18 | +- 🎨 Custom website footer with OpenSPP information |
| 19 | +- 🎨 Branded login page with OpenSPP styling |
| 20 | +- 🎨 Professional PDF reports with OpenSPP headers/footers |
| 21 | +- 🎨 Customized backend interface with OpenSPP colors |
| 22 | +- 🎨 Modified user menu with OpenSPP links |
| 23 | +- 🎨 Custom email signatures and templates |
| 24 | + |
| 25 | +### Technical Features |
| 26 | + |
| 27 | +- 🔧 Follows Odoo best practices for upgrade safety |
| 28 | +- 🔧 Uses proper inheritance mechanisms |
| 29 | +- 🔧 Compatible with OCA debranding modules |
| 30 | +- 🔧 Modular architecture for easy customization |
| 31 | +- 🔧 No core code modifications |
| 32 | + |
| 33 | +## Requirements |
| 34 | + |
| 35 | +- Odoo 17 Community Edition |
| 36 | +- Python 3.8+ |
| 37 | +- PostgreSQL 12+ |
| 38 | + |
| 39 | +### Recommended OCA Modules |
| 40 | + |
| 41 | +For complete debranding, install these modules from the |
| 42 | +[OCA/server-brand](https://github.com/OCA/server-brand) repository: |
| 43 | + |
| 44 | +- `disable_odoo_online` (17.0.1.0.0) |
| 45 | +- `portal_odoo_debranding` (17.0.1.0.0) |
| 46 | +- `remove_odoo_enterprise` (17.0.1.0.1) |
| 47 | + |
| 48 | +## Installation |
| 49 | + |
| 50 | +### 1. Clone the Module |
| 51 | + |
| 52 | +```bash |
| 53 | +cd /path/to/your/custom-addons |
| 54 | +git clone [repository-url] openspp_branding_kit |
| 55 | +``` |
| 56 | + |
| 57 | +### 2. Install OCA Dependencies (Recommended) |
| 58 | + |
| 59 | +```bash |
| 60 | +cd /path/to/your/custom-addons |
| 61 | +git clone --branch 17.0 https://github.com/OCA/server-brand.git |
| 62 | +``` |
| 63 | + |
| 64 | +### 3. Update Odoo Configuration |
| 65 | + |
| 66 | +Add the module paths to your `odoo.conf`: |
| 67 | + |
| 68 | +```ini |
| 69 | +[options] |
| 70 | +addons_path = /path/to/openspp_branding_kit,/path/to/server-brand,/path/to/odoo/addons |
| 71 | + |
| 72 | +# Recommended security settings |
| 73 | +list_db = False |
| 74 | +``` |
| 75 | + |
| 76 | +### 4. Install the Module |
| 77 | + |
| 78 | +1. Restart your Odoo server |
| 79 | +2. Go to Apps menu |
| 80 | +3. Update Apps List |
| 81 | +4. Search for "OpenSPP Branding Kit" |
| 82 | +5. Click Install |
| 83 | + |
| 84 | +## Configuration |
| 85 | + |
| 86 | +The module automatically applies all branding changes upon installation. However, you can further customize: |
| 87 | + |
| 88 | +### Company Information |
| 89 | + |
| 90 | +- Navigate to Settings → Companies → Your Company |
| 91 | +- Update company logo, address, and contact information |
| 92 | + |
| 93 | +### Website Customization |
| 94 | + |
| 95 | +- Use the website builder to further customize the footer |
| 96 | +- Modify colors and styles through the Customize menu |
| 97 | + |
| 98 | +### Email Templates |
| 99 | + |
| 100 | +- Go to Settings → Technical → Email Templates |
| 101 | +- Modify the OpenSPP notification templates as needed |
| 102 | + |
| 103 | +### Report Customization |
| 104 | + |
| 105 | +- Navigate to Settings → Technical → Reports |
| 106 | +- Adjust paper formats and layouts |
| 107 | + |
| 108 | +## Module Structure |
| 109 | + |
| 110 | +``` |
| 111 | +openspp_branding_kit/ |
| 112 | +├── __manifest__.py # Module metadata |
| 113 | +├── __init__.py # Module initialization |
| 114 | +├── controllers/ # HTTP controllers |
| 115 | +│ └── main.py # Custom routes |
| 116 | +├── data/ # Data files |
| 117 | +│ ├── debranding_data.xml |
| 118 | +│ ├── ir_config_parameter.xml |
| 119 | +│ └── res_company_data.xml |
| 120 | +├── models/ # Model overrides |
| 121 | +│ ├── ir_http.py |
| 122 | +│ └── res_users.py |
| 123 | +├── security/ # Access control |
| 124 | +│ └── ir.model.access.csv |
| 125 | +├── static/ # Static assets |
| 126 | +│ ├── description/ # Module description |
| 127 | +│ └── src/ # CSS/JS assets |
| 128 | +│ ├── js/ # JavaScript files |
| 129 | +│ └── scss/ # SCSS stylesheets |
| 130 | +└── views/ # XML templates |
| 131 | + ├── backend_customization.xml |
| 132 | + ├── login_templates.xml |
| 133 | + ├── report_templates.xml |
| 134 | + ├── webclient_templates.xml |
| 135 | + └── website_templates.xml |
| 136 | +``` |
| 137 | + |
| 138 | +## Customization Guide |
| 139 | + |
| 140 | +### Changing Colors |
| 141 | + |
| 142 | +Edit the SCSS variables in `static/src/scss/backend.scss`: |
| 143 | + |
| 144 | +```scss |
| 145 | +$openspp-primary: #2c3e50; // Main brand color |
| 146 | +$openspp-secondary: #34495e; // Secondary color |
| 147 | +$openspp-accent: #3498db; // Accent color |
| 148 | +``` |
| 149 | + |
| 150 | +### Modifying Footer Content |
| 151 | + |
| 152 | +Edit `views/website_templates.xml` to change footer text and links. |
| 153 | + |
| 154 | +### Adding Custom Logos |
| 155 | + |
| 156 | +1. Place your logo in `static/description/` |
| 157 | +2. Update the path in `data/ir_config_parameter.xml` |
| 158 | +3. Reference it in templates |
| 159 | + |
| 160 | +## Troubleshooting |
| 161 | + |
| 162 | +### Module Not Appearing |
| 163 | + |
| 164 | +- Ensure the module path is in `addons_path` |
| 165 | +- Check module permissions (should be readable) |
| 166 | +- Update apps list with `--update=all` flag |
| 167 | + |
| 168 | +### Branding Not Applied |
| 169 | + |
| 170 | +- Clear browser cache |
| 171 | +- Restart Odoo server |
| 172 | +- Check for conflicting modules |
| 173 | + |
| 174 | +### OCA Modules Not Working |
| 175 | + |
| 176 | +- Verify you're using the 17.0 branch |
| 177 | +- Check module dependencies are satisfied |
| 178 | +- Review Odoo logs for errors |
| 179 | + |
| 180 | +## Development |
| 181 | + |
| 182 | +### Running Tests |
| 183 | + |
| 184 | +```bash |
| 185 | +./odoo-bin -c odoo.conf -d test_db --test-enable --stop-after-init -i openspp_branding_kit |
| 186 | +``` |
| 187 | + |
| 188 | +### Contributing |
| 189 | + |
| 190 | +1. Fork the repository |
| 191 | +2. Create a feature branch |
| 192 | +3. Make your changes |
| 193 | +4. Add tests if applicable |
| 194 | +5. Submit a pull request |
| 195 | + |
| 196 | +## Security Considerations |
| 197 | + |
| 198 | +This module includes security enhancements: |
| 199 | + |
| 200 | +- Disables database manager in web interface |
| 201 | +- Blocks telemetry to external servers |
| 202 | +- Removes potentially sensitive information from UI |
| 203 | +- Implements secure default configurations |
| 204 | + |
| 205 | +## License |
| 206 | + |
| 207 | +This module is licensed under LGPL-3. See LICENSE file for full details. |
| 208 | + |
| 209 | +## Support |
| 210 | + |
| 211 | +- **Website**: [https://openspp.org](https://openspp.org) |
| 212 | +- **Documentation**: [https://openspp.org/documentation](https://openspp.org/documentation) |
| 213 | +- **GitHub**: [https://github.com/openspp](https://github.com/openspp) |
| 214 | +- **Community**: [https://openspp.org/community](https://openspp.org/community) |
| 215 | + |
| 216 | +## Credits |
| 217 | + |
| 218 | +### Authors |
| 219 | + |
| 220 | +- OpenSPP Project Team |
| 221 | + |
| 222 | +### Contributors |
| 223 | + |
| 224 | +- See contributors list on GitHub |
| 225 | + |
| 226 | +### Acknowledgments |
| 227 | + |
| 228 | +- Odoo Community Association (OCA) for debranding modules |
| 229 | +- OpenSPP community for testing and feedback |
| 230 | + |
| 231 | +## Changelog |
| 232 | + |
| 233 | +### Version 17.0.1.0.0 (Latest) |
| 234 | + |
| 235 | +- Initial release for Odoo 17 |
| 236 | +- Complete debranding functionality |
| 237 | +- OpenSPP branding implementation |
| 238 | +- OCA module compatibility |
| 239 | +- Security enhancements |
| 240 | + |
| 241 | +--- |
| 242 | + |
| 243 | +© 2025 OpenSPP Project. All rights reserved. |
0 commit comments