odoo-testing-addons/HOW_TO_UPDATE_THEME.md

69 lines
1.8 KiB
Markdown

# How to Update the Chennora Theme
## The 3 cards are not showing because the theme module needs to be upgraded in Odoo.
### Quick Fix - Upgrade via Web Interface:
1. **Open your browser** and go to: `http://localhost:10002`
2. **Login to Odoo** with your credentials
3. **Go to Apps** (click the grid icon in top menu)
4. **Remove the "Apps" filter**:
- You'll see a search bar that says "Apps"
- Click the ❌ (X) next to "Apps" to remove the filter
5. **Search for "chennora"**:
- Type "chennora" in the search box
- You should see "Dine360 Theme Chennora"
6. **Click "Upgrade"**:
- Click the "Upgrade" button on the module card
- Wait for the upgrade to complete
7. **Go to Website**:
- Click "Website" in the top menu
- Or go to: `http://localhost:10002`
8. **Refresh the page** (Ctrl + F5 or Cmd + Shift + R)
### What Changed:
**3 New Food Images Added:**
- `gobi-65.png` - Crispy Gobi 65
- `unlimited-thali.png` - Unlimited Thali
- `fish-curry.png` - Fiery Fish Curry
**New Card Design:**
- Dark background (#04121D)
- Text on left, image on right
- Yellow "ORDER NOW" buttons
- Matches your reference design
### If Images Still Don't Show:
The images are located at:
```
/dine360_theme_chennora/static/src/img/gobi-65.png
/dine360_theme_chennora/static/src/img/unlimited-thali.png
/dine360_theme_chennora/static/src/img/fish-curry.png
```
You can verify they load by visiting:
- `http://localhost:10002/dine360_theme_chennora/static/src/img/gobi-65.png`
- `http://localhost:10002/dine360_theme_chennora/static/src/img/unlimited-thali.png`
- `http://localhost:10002/dine360_theme_chennora/static/src/img/fish-curry.png`
### Alternative: Restart Everything
If the upgrade doesn't work, try:
```bash
cd d:\ODOO_Final
docker-compose down
docker-compose up
```
Then upgrade the module again through the web interface.