Skip to content

Commit 813943e

Browse files
chore(spp_programs): bump version to 19.0.2.0.2, add changelog, fix init location
Move init() with composite index creation from entitlement_base_model.py to entitlement.py since the base model is not imported in __init__.py.
1 parent 95e776d commit 813943e

4 files changed

Lines changed: 21 additions & 4 deletions

File tree

spp_programs/README.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ OpenSPP Programs
77
!! This file is generated by oca-gen-addon-readme !!
88
!! changes will be overwritten. !!
99
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:9c72b2c15cfc6d2fb146e9eb03e73397f99f6ac7a042fc7328bb7da00800a8ea
10+
!! source digest: sha256:4d35575e0372ff77264029580b6650220f51faee2d07c3d752e59f6330a1e872
1111
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1212
1313
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
@@ -254,6 +254,12 @@ Dependencies
254254
Changelog
255255
=========
256256

257+
19.0.2.0.2
258+
~~~~~~~~~~
259+
260+
- Add composite indexes for frequent query patterns on entitlements and
261+
program memberships
262+
257263
19.0.2.0.1
258264
~~~~~~~~~~
259265

spp_programs/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "OpenSPP Programs",
55
"summary": "Manage cash and in-kind entitlements, integrate with inventory, and enhance program management features for comprehensive social protection and agricultural support.",
66
"category": "OpenSPP/Core",
7-
"version": "19.0.2.0.1",
7+
"version": "19.0.2.0.2",
88
"sequence": 1,
99
"author": "OpenSPP.org",
1010
"website": "https://github.com/OpenSPP/OpenSPP2",

spp_programs/readme/HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 19.0.2.0.2
2+
3+
- Add composite indexes for frequent query patterns on entitlements and program memberships
4+
15
### 19.0.2.0.1
26

37
- Replace Python-level uniqueness checks with SQL UNIQUE constraints for program membership, cycle membership, and entitlement codes

spp_programs/static/description/index.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ <h1 class="title">OpenSPP Programs</h1>
367367
!! This file is generated by oca-gen-addon-readme !!
368368
!! changes will be overwritten. !!
369369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370-
!! source digest: sha256:9c72b2c15cfc6d2fb146e9eb03e73397f99f6ac7a042fc7328bb7da00800a8ea
370+
!! source digest: sha256:4d35575e0372ff77264029580b6650220f51faee2d07c3d752e59f6330a1e872
371371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372372
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OpenSPP/OpenSPP2/tree/19.0/spp_programs"><img alt="OpenSPP/OpenSPP2" src="https://img.shields.io/badge/github-OpenSPP%2FOpenSPP2-lightgray.png?logo=github" /></a></p>
373373
<p>Core program management for social protection. Implements programs,
@@ -658,6 +658,13 @@ <h2><a class="toc-backref" href="#toc-entry-1">Changelog</a></h2>
658658
</div>
659659
</div>
660660
<div class="section" id="section-1">
661+
<h1>19.0.2.0.2</h1>
662+
<ul class="simple">
663+
<li>Add composite indexes for frequent query patterns on entitlements and
664+
program memberships</li>
665+
</ul>
666+
</div>
667+
<div class="section" id="section-2">
661668
<h1>19.0.2.0.1</h1>
662669
<ul class="simple">
663670
<li>Replace Python-level uniqueness checks with SQL UNIQUE constraints for
@@ -666,7 +673,7 @@ <h1>19.0.2.0.1</h1>
666673
constraint creation</li>
667674
</ul>
668675
</div>
669-
<div class="section" id="section-2">
676+
<div class="section" id="section-3">
670677
<h1>19.0.2.0.0</h1>
671678
<ul class="simple">
672679
<li>Initial migration to OpenSPP2</li>

0 commit comments

Comments
 (0)