Skip to content

Commit 26ce9f4

Browse files
committed
spp_branding_kit: remove obsolete settings fields and tests; update readme keys; clean Apps view context usage
1 parent 811903c commit 26ce9f4

File tree

4 files changed

+7
-29
lines changed

4 files changed

+7
-29
lines changed

spp_branding_kit/models/res_config_settings.py

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,4 @@ class ResConfigSettings(models.TransientModel):
5858
config_parameter="openspp.ui.hide_odoo_referral",
5959
)
6060

61-
openspp_hide_paid_apps = fields.Boolean(
62-
"Hide Paid Apps",
63-
help="Hide paid Odoo apps (Enterprise and OPL licensed modules) from the Apps list",
64-
default=True,
65-
config_parameter="openspp.hide_paid_apps",
66-
)
67-
68-
openspp_default_app_filter = fields.Selection(
69-
[
70-
("all", "All Modules"),
71-
("apps_only", "Apps Only"),
72-
("openspp", "OpenSPP Apps Only"),
73-
("free", "Free Apps Only"),
74-
],
75-
string="Default Apps Filter",
76-
help="Choose which modules to show by default in the Apps menu",
77-
default="apps_only",
78-
config_parameter="openspp.default_app_filter",
79-
)
61+
# Apps filtering is now handled in the UI via default search filters.

spp_branding_kit/readme/DESCRIPTION.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,11 @@ The **OpenSPP Branding Kit** module is designed to:
6969

7070
The module provides various configuration parameters that can be adjusted through the Settings interface or directly via system parameters:
7171

72-
* `openspp.system_name`: Custom system name displayed throughout the interface
73-
* `openspp.hide_paid_apps`: Toggle to hide paid applications from the Apps menu
74-
* `openspp.telemetry_enabled`: Enable or disable telemetry data collection
75-
* `openspp.documentation_url`: Custom documentation URL for help links
76-
* `openspp.support_url`: Custom support URL for assistance
72+
* `openspp.system.name`: Custom system name displayed throughout the interface
73+
* `openspp.telemetry.enabled`: Enable or disable telemetry data collection
74+
* `openspp.documentation.url`: Custom documentation URL for help links
75+
* `openspp.support.url`: Custom support URL for assistance
7776

7877
## Conclusion
7978

80-
The **OpenSPP Branding Kit** module provides a complete solution for transforming an Odoo 17 installation into a fully branded OpenSPP platform. It ensures consistent branding across all interfaces while maintaining system functionality and providing administrators with granular control over branding and behavior settings. The module's modular architecture and adherence to Odoo best practices ensure compatibility with future updates and seamless integration with other OpenSPP modules.
79+
The **OpenSPP Branding Kit** module provides a complete solution for transforming an Odoo 17 installation into a fully branded OpenSPP platform. It ensures consistent branding across all interfaces while maintaining system functionality and providing administrators with granular control over branding and behavior settings. The module's modular architecture and adherence to Odoo best practices ensure compatibility with future updates and seamless integration with other OpenSPP modules.

spp_branding_kit/tests/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# ABOUTME: Test module initialization
22
# ABOUTME: Import test cases for spp_branding_kit module
33

4-
from . import test_hide_paid_apps
54
from . import test_init_hooks
65
from . import test_controllers
76
from . import test_models

spp_branding_kit/views/ir_module_module_views.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@
4747
<filter
4848
name="paid_apps"
4949
string="Paid Apps"
50-
domain="['|', ('license', '=like', 'OEEL%'),
51-
('license', '=like', 'OPL%')]"
50+
domain="['|', ('license', '=like', 'OEEL%'), ('license', '=like', 'OPL%')]"
5251
help="Show paid/proprietary apps"
53-
invisible="context.get('hide_paid_apps_enabled', False)"
5452
/>
5553
</filter>
5654
</field>

0 commit comments

Comments
 (0)