diff --git a/addons/home_dashboard/static/src/css/theme_variables.css b/addons/home_dashboard/static/src/css/theme_variables.css index 1e4af25..9b77bdf 100644 --- a/addons/home_dashboard/static/src/css/theme_variables.css +++ b/addons/home_dashboard/static/src/css/theme_variables.css @@ -565,4 +565,17 @@ a:hover, .dropdown-item:active { background: var(--gradient-primary) !important; color: #fff !important; +} + +.o_main_navbar .o_menu_sections .o_nav_entry, +.o_main_navbar .o_menu_sections .dropdown-toggle { + background: var(--NavBar-entry-backgroundColor, var(--primary-color)); + border: 1px solid transparent; +} + +.list-group-item.active { + z-index: 2; + color: #fff; + background-color: #259a8f; + border-color: #259a8f; } \ No newline at end of file diff --git a/export_odoo.ps1 b/export_odoo.ps1 new file mode 100644 index 0000000..837b5f2 --- /dev/null +++ b/export_odoo.ps1 @@ -0,0 +1,20 @@ +# Odoo Export Script for Windows (PowerShell) +# This script exports the addons folder and the PostgreSQL database from Docker. + +$timestamp = Get-Date -Format "yyyyMMdd_HHmmss" +$exportDir = "export_$timestamp" +New-Item -ItemType Directory -Path $exportDir + +Write-Host "--- Exporting Addons ---" -ForegroundColor Cyan +Compress-Archive -Path "addons\*" -DestinationPath "$exportDir\addons.zip" + +Write-Host "--- Exporting Database ---" -ForegroundColor Cyan +# Replace 'postgres' with your actual database name if different +docker exec -t odoo_client1_db pg_dump -U odoo -d postgres > "$exportDir\database.sql" + +Write-Host "--- Export Complete! ---" -ForegroundColor Green +Write-Host "Project exported to directory: $exportDir" + + + +.\export_odoo.ps1 \ No newline at end of file