Skip to content

Commit 43e7fa6

Browse files
chore(spp_programs): remove dead code and fix module documentation
Delete entitlement_base_model.py which defined _name="spp.entitlement" but was never imported in models/__init__.py — the actual model lives in entitlement.py. Also fix manifest summary (remove marketing language) and add missing job_worker dependency to DESCRIPTION.md.
1 parent a550add commit 43e7fa6

5 files changed

Lines changed: 4 additions & 308 deletions

File tree

spp_programs/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Dependencies
244244
``spp_banking``, ``calendar``, ``product``, ``stock``, ``spp_security``,
245245
``spp_area``, ``spp_service_points``, ``spp_user_roles``,
246246
``spp_base_common``, ``spp_approval``, ``spp_cel_domain``,
247-
``spp_cel_widget``
247+
``spp_cel_widget``, ``job_worker``
248248

249249
**Table of contents**
250250

spp_programs/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
33
{
44
"name": "OpenSPP Programs",
5-
"summary": "Manage cash and in-kind entitlements, integrate with inventory, and enhance program management features for comprehensive social protection and agricultural support.",
5+
"summary": "Manage programs, cycles, beneficiary enrollment, entitlements (cash and in-kind), payments, and fund tracking for social protection.",
66
"category": "OpenSPP/Core",
77
"version": "19.0.2.0.0",
88
"sequence": 1,

spp_programs/models/entitlement_base_model.py

Lines changed: 0 additions & 304 deletions
This file was deleted.

spp_programs/readme/DESCRIPTION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ After installing:
101101

102102
### Dependencies
103103

104-
`account`, `web`, `base`, `mail`, `spp_registry`, `spp_banking`, `calendar`, `product`, `stock`, `spp_security`, `spp_area`, `spp_service_points`, `spp_user_roles`, `spp_base_common`, `spp_approval`, `spp_cel_domain`, `spp_cel_widget`
104+
`account`, `web`, `base`, `mail`, `spp_registry`, `spp_banking`, `calendar`, `product`, `stock`, `spp_security`, `spp_area`, `spp_service_points`, `spp_user_roles`, `spp_base_common`, `spp_approval`, `spp_cel_domain`, `spp_cel_widget`, `job_worker`

spp_programs/static/description/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ <h1>Dependencies</h1>
646646
<tt class="docutils literal">spp_banking</tt>, <tt class="docutils literal">calendar</tt>, <tt class="docutils literal">product</tt>, <tt class="docutils literal">stock</tt>, <tt class="docutils literal">spp_security</tt>,
647647
<tt class="docutils literal">spp_area</tt>, <tt class="docutils literal">spp_service_points</tt>, <tt class="docutils literal">spp_user_roles</tt>,
648648
<tt class="docutils literal">spp_base_common</tt>, <tt class="docutils literal">spp_approval</tt>, <tt class="docutils literal">spp_cel_domain</tt>,
649-
<tt class="docutils literal">spp_cel_widget</tt></p>
649+
<tt class="docutils literal">spp_cel_widget</tt>, <tt class="docutils literal">job_worker</tt></p>
650650
<p><strong>Table of contents</strong></p>
651651
<div class="contents local topic" id="contents">
652652
<ul class="simple">

0 commit comments

Comments
 (0)