Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
4475d36
[IMP] spp_area_base menu icon
emjay0921 May 15, 2025
ef1c6e4
[IMP] spp_idpass menu icon
emjay0921 May 15, 2025
a8dc0a7
[IMP] spp_service_points menu icon
emjay0921 May 15, 2025
bd326f4
[IMP] spp_programs menu icon
emjay0921 May 15, 2025
a5687e4
[IMP] Registry Menu Icon
emjay0921 May 15, 2025
a83928b
[IMP] spmis Menu Icon for Apps, Settings
emjay0921 May 15, 2025
352d5b9
[IMP] Change Request Menu Icon
emjay0921 May 15, 2025
41974a0
[IMP] DMS menu icon
emjay0921 May 15, 2025
d254dee
[IMP] Audit Log Menu Icon
emjay0921 May 15, 2025
30ea23f
[IMP] SP-Farmer Menu Icons for Registry, Apps, Settings
emjay0921 May 15, 2025
f7254c1
[FIX] pre-commit
emjay0921 May 15, 2025
c3eef20
[IMP] icons for odoo menus
emjay0921 May 19, 2025
852b8af
[UPD] Update spp_change_request.pot
Sep 11, 2025
966cefe
[IMP] preview of images
emjay0921 Sep 3, 2025
9bc1c7e
[IMP] simplify
emjay0921 Sep 3, 2025
a2cd949
[ADD] parameter for oauth pub and priv keys
emjay0921 Sep 1, 2025
6f1709a
[ADD] add new settings for oauth pub and priv keys
emjay0921 Sep 1, 2025
133c228
[ADD] modifications on parameter to hide parameter
emjay0921 Sep 1, 2025
dff5db0
[IMP] rsa_encode_decode to use the new settings
emjay0921 Sep 1, 2025
042cf41
[IMP] add views and icon
emjay0921 Sep 1, 2025
79ea540
[IMP] fix controllers and models to pass the env on encode decode
emjay0921 Sep 1, 2025
2985fea
[FIX] pre-commit
emjay0921 Sep 1, 2025
6eb6f4c
[FIX] Header for the Settings
emjay0921 Sep 1, 2025
97cf9bf
[REM] hiding parameters
emjay0921 Sep 10, 2025
e4c0dc5
[IMP] spp_oauth test
emjay0921 Sep 12, 2025
352da22
[UPD] Update spp_oauth.pot
Sep 12, 2025
5ed8ecc
Initial commit
gonzalesedwin1123 May 13, 2025
ae7767d
Initial commit
gonzalesedwin1123 May 13, 2025
1f2fabd
Fix issue with menu
gonzalesedwin1123 May 13, 2025
a011ea6
Fix issue with user_roles
gonzalesedwin1123 May 13, 2025
9d9adf4
Fix access rights
gonzalesedwin1123 May 13, 2025
b711d46
Fix issue with record rules that prevents access to users
gonzalesedwin1123 May 13, 2025
59a55db
Fix issues with the tests
gonzalesedwin1123 May 13, 2025
9413935
Fix issues with the tests
gonzalesedwin1123 May 13, 2025
993e729
Fix issues with the tests
gonzalesedwin1123 May 13, 2025
6350b35
Fix issues with the tests
gonzalesedwin1123 May 13, 2025
fbde21a
Change dependencies
gonzalesedwin1123 May 14, 2025
339b42a
Change version to 'Alpha'
gonzalesedwin1123 May 14, 2025
4b04ff8
fix: Remove 'Default' text from eligibility criteria tab label
Jun 10, 2025
8e3c1b5
[UPD] Update spp_registry_donor.pot
Sep 15, 2025
ee5c422
[UPD] Update spp_programs.pot
Sep 15, 2025
f6c137e
[IMP] wizard for event demo
emjay0921 Sep 8, 2025
7458828
[IMP] module names
emjay0921 Sep 8, 2025
9b8b769
[IMP] theme_openspp_muk name
emjay0921 Sep 8, 2025
b685d0b
[IMP] roles, functions to generate non idpass IDs
emjay0921 Sep 2, 2025
2e9d2d0
[ADD] ID roles
emjay0921 Sep 3, 2025
d5071fa
[IMP] ID roles access rights
emjay0921 Sep 4, 2025
fd02471
[ADD] access rights for ID Roles on spp_base
emjay0921 Sep 10, 2025
7c565bf
[IMP] access
emjay0921 Sep 11, 2025
b6727b8
[IMP] change request access
emjay0921 Sep 11, 2025
426445d
[REM] user roles on spp_registry_base dependencies
emjay0921 Sep 11, 2025
9564cf6
[FIX] access
emjay0921 Sep 11, 2025
fc56b8d
[FIX] access and dependencies
emjay0921 Sep 11, 2025
7accc92
[FIX] recursions
emjay0921 Sep 11, 2025
0f4153e
[IMP] spp_area
emjay0921 Sep 12, 2025
4a6d010
[FIX] fix test errors in idqueue
emjay0921 Sep 12, 2025
e339bd7
[ADD] tests for spp_idqueue
emjay0921 Sep 12, 2025
690131c
[IMP] spp_idqueue: add display notification on request
emjay0921 Sep 15, 2025
40daa66
[IMP] spp_idqueue: tooltip and disable create, edit, delete
emjay0921 Sep 15, 2025
c3a9b9d
Bump actions/stale from 4 to 10
dependabot[bot] Sep 8, 2025
6358ff8
Bump actions/setup-python from 2 to 6
dependabot[bot] Sep 8, 2025
b3ec87a
[UPD] Update g2p_programs.pot
Sep 15, 2025
25d1800
[UPD] Update spp_area.pot
Sep 15, 2025
6b4a065
[UPD] Update spp_event_data.pot
Sep 15, 2025
db59ddc
[UPD] Update spp_idqueue.pot
Sep 15, 2025
faaca53
[UPD] Update spp_user_roles.pot
Sep 15, 2025
8fd32a0
Merge branch '17.0' into 802-replace-icons
emjay0921 Sep 19, 2025
57e89d9
[IMP] move the icon replacement on spp_registry_base
emjay0921 Sep 19, 2025
88ae466
[FIX] dependencies
emjay0921 Sep 19, 2025
aab7bdc
[FIX] dependencies
emjay0921 Sep 19, 2025
89b8a31
[REM] dependencies
emjay0921 Sep 19, 2025
d9f24b8
[IMP] call replacement on module install
emjay0921 Sep 19, 2025
6cc4a71
[IMP] call replacement on module install
emjay0921 Sep 19, 2025
6319161
[IMP] call replacement on module install
emjay0921 Sep 19, 2025
eed0879
[IMP] add logger to check the status
emjay0921 Sep 19, 2025
d53b555
[IMP] logic
emjay0921 Sep 19, 2025
e00fbb6
[IMP] icons
emjay0921 Sep 19, 2025
64409aa
[IMP] icons
emjay0921 Sep 19, 2025
25e2542
[IMP] icons
emjay0921 Sep 19, 2025
9e174e9
[IMP] icons
emjay0921 Sep 19, 2025
6847499
[IMP] icons for g2p_connect_demo
emjay0921 Sep 19, 2025
1dc21c6
[IMP] colours on theme
emjay0921 Sep 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified g2p_connect_demo/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spp_api/static/description/icon-api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spp_api/static/description/icon-colored.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spp_api/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion spp_api/views/openapi_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
<field name="view_mode">tree,form</field>
<field name="help">Create and manage the namespaces.</field>
</record>
<menuitem id="main_openapi_menu" name="OpenAPI" web_icon="openapi,static/description/icon.png" />
<menuitem id="main_openapi_menu" name="OpenAPI" web_icon="spp_api,static/description/icon-api.png" />
<menuitem id="openapi_menu" name="OpenAPI" parent="main_openapi_menu" />
<menuitem id="namespaces_menu" name="APIs" parent="openapi_menu" action="namespace_list_action" />

Expand Down
Binary file added spp_api_records/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spp_area/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed spp_area/static/description/icon_area.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spp_area_base/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spp_area_base/static/description/icon_spp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion spp_area_base/views/area.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
<menuitem
id="area_main_menu_root"
name="Area"
web_icon="spp_area_base,static/description/icon_area.png"
web_icon="spp_area_base,static/description/OpenSPP-Icons-Area.png"
active="True"
sequence="0"
/>
Expand Down
Binary file modified spp_area_gis/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spp_attendance/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spp_audit_config/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spp_audit_log/static/description/icon-openspp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spp_audit_log/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion spp_audit_log/views/spp_audit_rule_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@
</record>

<!-- Top menu item -->
<menuitem name="Audit Log" id="spp_audit_log.menu_root" groups="spp_audit_log.group_manager" />
<menuitem
name="Audit Log"
id="spp_audit_log.menu_root"
groups="spp_audit_log.group_manager"
web_icon="spp_audit_log,static/description/OpenSPP-Icons-Audit.png"
/>

<!-- Sub-menu item -->

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spp_audit_post/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spp_auto_update_entitlements/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion spp_base/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@
"spp_hide_menus",
"spp_programs",
"spp_custom_filter_ui",
"project_todo",
"spreadsheet_dashboard",
"queue_job",
"mass_mailing",
"project",
"hr",
"survey",
"spp_registry_base",
],
"excludes": [
Expand All @@ -50,7 +57,6 @@
"data/top_up_card.xml",
"security/ir.model.access.csv",
"views/registrant_view.xml",
"views/main_view.xml",
"views/users_view.xml",
],
"assets": {},
Expand Down
Binary file added spp_base/static/description/icon-registry.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spp_base/static/description/icon-spp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spp_base/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed spp_base/static/description/icon_registry.png
Binary file not shown.
13 changes: 0 additions & 13 deletions spp_base/views/main_view.xml

This file was deleted.

Binary file added spp_base_api/static/description/icon-api.png
Binary file modified spp_base_api/static/description/icon.png
Binary file modified spp_base_demo/static/description/icon.png
Binary file added spp_base_gis/static/description/icon.png
Binary file added spp_base_gis_demo/static/description/icon.png
Binary file added spp_base_gis_rest/static/description/icon.png
Binary file added spp_base_setting/static/description/icon.png
Binary file modified spp_change_request/static/description/icon.png
1 change: 0 additions & 1 deletion spp_change_request/views/main_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Part of OpenSPP. See LICENSE file for full copyright and licensing details.
-->
<odoo>

<menuitem
id="spp_change_request_pending_validation_root"
name="For Validation"
Expand Down
Binary file modified spp_change_request_add_children_demo/static/description/icon.png
Binary file modified spp_change_request_add_farmer/static/description/icon.png
Binary file modified spp_change_request_base/static/description/icon.png
7 changes: 6 additions & 1 deletion spp_change_request_base/views/main_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ Part of OpenSPP. See LICENSE file for full copyright and licensing details.
-->
<odoo>

<menuitem id="spp_change_request_menu_root" name="Change Request" sequence="1" />
<menuitem
id="spp_change_request_menu_root"
name="Change Request"
sequence="1"
web_icon="spp_change_request_base,static/description/OpenSPP-Icons-Change-Request.png"
/>

<menuitem
id="spp_change_request_config_root"
Expand Down
Binary file modified spp_change_request_change_info/static/description/icon.png
Binary file modified spp_change_request_create_farm/static/description/icon.png
Binary file modified spp_change_request_create_group/static/description/icon.png
Binary file modified spp_change_request_edit_farm/static/description/icon.png
Binary file modified spp_change_request_edit_farmer/static/description/icon.png
Binary file modified spp_consent/static/description/icon.png
Binary file modified spp_custom_field/static/description/icon.png
Binary file modified spp_custom_fields_ui/static/description/icon.png
Binary file added spp_custom_filter/static/description/icon.png
Binary file added spp_custom_filter_ui/static/description/icon.png
Binary file modified spp_cycle_attendance_compliance/static/description/icon.png
Binary file modified spp_dashboard_base/static/description/icon.png
Binary file added spp_data_export/static/description/icon.png
Binary file modified spp_dci_api_server/static/description/icon.png
Binary file added spp_dms/static/description/OpenSPP-Icons-DMS.png
Binary file modified spp_dms/static/description/icon.png
2 changes: 1 addition & 1 deletion spp_dms/views/main_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<menuitem
id="main_menu_spp_dms"
name="DMS"
web_icon="dms,static/description/icon.png"
web_icon="spp_dms,static/description/OpenSPP-Icons-DMS.png"
groups="group_spp_dms_user"
/>
<menuitem id="menu_spp_dms_config" name="Configuration" parent="main_menu_spp_dms" sequence="100" />
Expand Down
Binary file added spp_eligibility_sql/static/description/icon.png
Binary file modified spp_eligibility_tags/static/description/icon.png
Binary file added spp_encryption/static/description/icon.png
Binary file modified spp_ent_trans/static/description/icon.png
Binary file modified spp_entitlement_basket/static/description/icon.png
Binary file modified spp_entitlement_cash/static/description/icon.png
Binary file modified spp_entitlement_in_kind/static/description/icon.png
Binary file modified spp_ethnic_group/static/description/icon.png
Binary file modified spp_event_data/static/description/icon.png
Binary file modified spp_event_data_program_membership/static/description/icon.png
Binary file modified spp_event_demo/static/description/icon.png
Binary file added spp_exclusion_filter/static/description/icon.png
1 change: 1 addition & 0 deletions spp_farmer_registry_base/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"maintainers": ["jeremi", "gonzalesedwin1123", "reichie020212"],
"depends": [
"base",
"spp_registry_base",
"g2p_registry_base",
"g2p_registry_individual",
"g2p_registry_group",
Expand Down
Binary file modified spp_farmer_registry_base/static/description/icon.png
Binary file modified spp_farmer_registry_default_ui/static/description/icon.png
Binary file modified spp_farmer_registry_demo/static/description/icon.png
Binary file modified spp_grm/static/description/icon.png
Binary file added spp_hide_menus/static/description/icon.png
Binary file added spp_hide_menus_base/static/description/icon.png
Binary file modified spp_idpass/static/description/icon.png
Binary file removed spp_idpass/static/description/icon_id.png
Diff not rendered.
2 changes: 1 addition & 1 deletion spp_idpass/views/main_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
id="id_pass_main_menu_root"
name="ID Management"
active="True"
web_icon="spp_idpass,static/description/icon_id.png"
web_icon="spp_idpass,static/description/OpenSPP-Icons-ID-Management.png"
sequence="1"
/>

Expand Down
Binary file modified spp_idqueue/static/description/icon.png
Binary file modified spp_import_dci_api/static/description/icon.png
Binary file modified spp_import_match/static/description/icon.png
Binary file added spp_irrigation/static/description/icon.png
Binary file modified spp_land_record/static/description/icon.png
Binary file modified spp_manual_eligibility/static/description/icon.png
Binary file modified spp_manual_entitlement/static/description/icon.png
Binary file modified spp_mis_demo/static/description/icon.png
Binary file modified spp_oauth/static/description/icon.png
Binary file modified spp_openid_vci/static/description/icon.png
Binary file added spp_openid_vci_group/static/description/icon.png
Binary file modified spp_pmt/static/description/icon.png
Binary file modified spp_pos/static/description/icon.png
Binary file added spp_pos_id_redemption/static/description/icon.png
Binary file added spp_program_id/static/description/icon.png
Binary file modified spp_programs/static/description/icon.png
Binary file removed spp_programs/static/description/icon_program.png
Diff not rendered.
2 changes: 1 addition & 1 deletion spp_programs/views/main_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Part of OpenSPP. See LICENSE file for full copyright and licensing details.
<menuitem
id="g2p_programs.g2p_program_menu_root"
name="Programs"
web_icon="spp_programs,static/description/icon_program.png"
web_icon="spp_programs,static/description/OpenSPP-Icons-Program.png"
sequence="0"
/>
</odoo>
Binary file modified spp_programs_sp/static/description/icon.png
Binary file modified spp_qr_scanner/static/description/icon.png
Binary file added spp_registrant_import/static/description/icon.png
Binary file added spp_registrant_tag/static/description/icon.png
Binary file modified spp_registry_approval/static/description/icon.png
Binary file modified spp_registry_approval_group/static/description/icon.png
Binary file modified spp_registry_approval_individual/static/description/icon.png
9 changes: 8 additions & 1 deletion spp_registry_base/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"g2p_registry_individual",
"g2p_registry_group",
"g2p_registry_membership",
"theme_openspp_muk",
],
"data": [
"security/security_access.xml",
Expand All @@ -27,8 +28,14 @@
],
"assets": {
"web.assets_backend": [
"spp_registry/static/src/import_records/import_records.js",
"spp_registry_base/static/src/import_records/import_records.js",
"spp_registry_base/static/src/scss/navbar.scss",
],
"web._assets_primary_variables": [
"spp_registry_base/static/src/scss/colors.scss",
"spp_registry_base/static/src/scss/colors_light.scss",
],
"web.assets_web_dark": ["spp_registry_base/static/src/scss/colors_dark.scss"],
},
"demo": [],
"images": [],
Expand Down
1 change: 1 addition & 0 deletions spp_registry_base/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from . import res_partner
from . import ir_module_module
71 changes: 71 additions & 0 deletions spp_registry_base/models/ir_module_module.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
import logging
from odoo import models, api

_logger = logging.getLogger(__name__)

class IrModuleModule(models.Model):
_inherit = 'ir.module.module'

# Map module technical names to menu xml_ids and icon paths
ICON_MAP = {
'project_todo': {
'menu_xml_id': 'project_todo.menu_todo_todos',
'icon': 'spp_registry_base,static/description/icon-To-do-White-line.png',
},
'mail': {
'menu_xml_id': 'mail.menu_root_discuss',
'icon': 'spp_registry_base,static/description/icon-Discuss-White-line.png',
},
'queue_job': {
'menu_xml_id': 'queue_job.menu_queue_job_root',
'icon': 'spp_registry_base,static/description/icon-Job-Queue-White-line.png',
},
'spreadsheet_dashboard': {
'menu_xml_id': 'spreadsheet_dashboard.spreadsheet_dashboard_menu_root',
'icon': 'spp_registry_base,static/description/icon-Dashboards-White-line.png',
},
'project': {
'menu_xml_id': 'project.menu_main_pm',
'icon': 'spp_registry_base,static/description/icon-Project-White-line.png',
},
'mass_mailing': {
'menu_xml_id': 'mass_mailing.mass_mailing_menu_root',
'icon': 'spp_registry_base,static/description/icon-Email-Marketing-White-line.png',
},
'survey': {
'menu_xml_id': 'survey.menu_surveys',
'icon': 'spp_registry_base,static/description/icon-Surveys-White-line.png',
},
'hr': {
'menu_xml_id': 'hr.menu_hr_root',
'icon': 'spp_registry_base,static/description/icon-Employees-White-line.png',
},
# Add more modules as needed
}

def update_menu_icons(self):
for module in self.search([]):
icon_info = self.ICON_MAP.get(module.name)
if icon_info:
try:
menu = self.env.ref(icon_info['menu_xml_id'])
except ValueError:
menu = False

if menu:
menu.write({'web_icon': icon_info['icon']})
_logger.info(
"Updated icon for menu '%s' (module '%s') to '%s'",
icon_info['menu_xml_id'], module.name, icon_info['icon']
)
else:
_logger.warning(
"Menu with xml_id '%s' not found for module '%s'",
icon_info['menu_xml_id'], module.name
)

def next(self):
# Call your icon update logic first
self.update_menu_icons()
# Then call the original Odoo logic
return super().next()
13 changes: 13 additions & 0 deletions spp_registry_base/static/src/scss/colors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Colors

$mk_color_appsmenu_text: #f8f9fa;
$mk_color_appbar_text: #dee2e6;
$mk_color_appbar_active: #5d8da8;
$mk_color_appbar_background: #3264c8;

// Override

$mk-appsmenu-color: $mk_color_appsmenu_text;
$mk-appbar-color: $mk_color_appbar_text;
$mk-appbar-active: $mk_color_appbar_active;
$mk-appbar-background: $mk_color_appbar_background;
31 changes: 31 additions & 0 deletions spp_registry_base/static/src/scss/colors_dark.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Colors

$mk_color_brand: #3264c8;
$mk_color_primary: #5d8da8;

$mk_color_success: #1dc959;
$mk_color_info: #6ab5fb;
$mk_color_warning: #fbb56a;
$mk_color_danger: #ff5757;

// Override

$o-community-color: $mk-color-brand;
$o-enterprise-color: $mk-color-brand;
$o-enterprise-action-color: $mk-color-primary;

$o-brand-odoo: $mk-color-brand;
$o-brand-primary: $mk-color-primary;

$o-success: $mk-color-success;
$o-info: $mk-color-info;
$o-warning: $mk-color-warning;
$o-danger: $mk-color-danger;

$o-theme-text-colors: (
"primary": $mk-color-brand,
"success": $o-success,
"info": $o-info,
"warning": $o-warning,
"danger": $o-danger,
);
31 changes: 31 additions & 0 deletions spp_registry_base/static/src/scss/colors_light.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Colors

$mk_color_brand: #3264c8;
$mk_color_primary: #5d8da8;

$mk_color_success: #28a745;
$mk_color_info: #17a2b8;
$mk_color_warning: #ffac00;
$mk_color_danger: #dc3545;

// Override

$o-community-color: $mk-color-brand;
$o-enterprise-color: $mk-color-brand;
$o-enterprise-action-color: $mk-color-primary;

$o-brand-odoo: $mk-color-brand;
$o-brand-primary: $mk-color-primary;

$o-success: $mk-color-success;
$o-info: $mk-color-info;
$o-warning: $mk-color-warning;
$o-danger: $mk-color-danger;

$o-theme-text-colors: (
"primary": $mk-color-brand,
"success": $o-success,
"info": $o-info,
"warning": $o-warning,
"danger": $o-danger,
);
61 changes: 61 additions & 0 deletions spp_registry_base/static/src/scss/navbar.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.o_main_navbar {
border-bottom: none !important;
background-color: #3264c8 !important;
}

.o_main_navbar > .o_menu_sections > .dropdown-item,
.o_main_navbar > .o_menu_sections > .o-dropdown > .dropdown-toggle {
background-color: #3264c8 !important;
}

.o_main_navbar .o_menu_brand,
.o_main_navbar .o_navbar_apps_menu .dropdown-toggle,
.o_main_navbar .o_nav_entry,
.o_main_navbar .dropdown-toggle {
color: #ffffff !important;
}

.btn-primary {
background-color: #3264c8 !important;
border-color: #3264c8 !important;
color: #ffffff !important;
}

.btn-primary:hover {
background-color: #1c3f84 !important;
border-color: #1c3f84 !important;
color: #ffffff !important;
}

a {
color: #3264c8 !important;
}

a:hover {
color: #1c3f84 !important;
}

.mk_apps_sidebar_panel .mk_apps_sidebar .mk_apps_sidebar_menu > li > a {
color: #ffffff !important;
}

.mk_apps_sidebar_panel .mk_apps_sidebar .mk_apps_sidebar_menu > li > a:hover {
color: #ffffff !important;
background-color: #3264c8 !important;
}

.mk_apps_sidebar_panel .mk_apps_sidebar .mk_apps_sidebar_menu > li.active > a {
background-color: #3264c8 !important;
color: #ffffff !important;
}

.o_navbar_apps_menu.show .dropdown-menu .o_app > a .mk_app_icon {
width: 100%;
padding: 10px;
max-width: 70px;
border-radius: 0.375rem;
background-color: #ffffff00;
transform-origin: center bottom;
transition: box-shadow ease-in 0.1s, transform ease-in 0.1s;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0), 0 4px 4px rgba(0, 0, 0, 0.02);
}
13 changes: 12 additions & 1 deletion spp_registry_base/views/main_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,19 @@
<menuitem
id="g2p_registry_base.g2p_main_menu_root"
name="Registry"
web_icon="spp_registry_base,static/description/icon_registry.png"
web_icon="spp_registry_base,static/description/OpenSPP-Icons-Registry.png"
active="True"
sequence="-1"
/>

<menuitem
id="base.menu_management"
name="Apps"
web_icon="spp_registry_base,static/description/OpenSPP-Icons-App.png"
/>
<menuitem
id="base.menu_administration"
name="Settings"
web_icon="spp_registry_base,static/description/OpenSPP-Icons-Setting.png"
/>
</odoo>
Binary file modified spp_registry_data_source/static/description/icon.png
Binary file modified spp_registry_donor/static/description/icon.png
Diff not rendered.
Binary file modified spp_scan_id_document/static/description/icon.png
Binary file modified spp_service_points/static/description/icon.png
2 changes: 1 addition & 1 deletion spp_service_points/views/main_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<menuitem
id="service_points_main_menu_root"
name="Service Point"
web_icon="spp_service_points,static/description/icon.png"
web_icon="spp_service_points,static/description/OpenSPP-Icons-Service-Point.png"
active="True"
sequence="1"
/>
Expand Down
Binary file added spp_starter/static/description/icon.png
Binary file modified spp_user_roles/static/description/icon.png
Binary file modified theme_openspp_muk/static/description/icon.png
Loading