Skip to content

Commit 441023c

Browse files
committed
Merge branch '19.0' into fix/951-role-menu-audit-additive
Resolves HISTORY / version conflicts in 4 modules where this branch's OP#951 entries collided with upstream's #943 x2many_no_padding entries at the same version number: - spp_farmer_registry: bump 19.0.2.0.1 -> 19.0.2.0.2 - spp_hazard: bump 19.0.2.0.1 -> 19.0.2.0.2 - spp_programs: bump 19.0.2.1.1 -> 19.0.2.1.2 - spp_service_points: bump 19.0.2.0.1 -> 19.0.2.0.2 README.rst and static/description/index.html taken from HEAD; CI's OCA README generator will regenerate them from the updated HISTORY.md in a follow-up commit.
2 parents 92b422a + b3510d8 commit 441023c

103 files changed

Lines changed: 2012 additions & 107 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

scripts/detect_modules.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def main():
151151
# Build dependency graph
152152
reverse_deps = build_reverse_dependency_graph(project_root, all_modules)
153153

154+
changed_modules: set[str] = set()
154155
if args.all:
155156
# List all modules with tests (no limit for --all)
156157
modules_to_test = {m for m in all_modules if has_tests(project_root / m)}
@@ -184,10 +185,17 @@ def main():
184185

185186
# Apply max limit if set
186187
if args.max_modules > 0 and len(sorted_modules) > args.max_modules:
187-
# Prioritize critical modules
188-
critical_first = [m for m in sorted_modules if m in CRITICAL_MODULES]
189-
others = [m for m in sorted_modules if m not in CRITICAL_MODULES]
190-
sorted_modules = (critical_first + others)[: args.max_modules]
188+
# Priority order when the matrix is over-subscribed:
189+
# 1. Critical modules (always tested).
190+
# 2. Directly-changed modules (a patch must run its own tests so
191+
# codecov/patch reflects the new coverage — without this, the
192+
# changed module can fall off the alpha tail and codecov
193+
# carryforward leaves the old figures in place).
194+
# 3. Transitively-impacted modules, alphabetical.
195+
critical = [m for m in sorted_modules if m in CRITICAL_MODULES]
196+
directly_changed = [m for m in sorted_modules if m in changed_modules and m not in CRITICAL_MODULES]
197+
others = [m for m in sorted_modules if m not in CRITICAL_MODULES and m not in changed_modules]
198+
sorted_modules = (critical + directly_changed + others)[: args.max_modules]
191199
print(
192200
f"Warning: Limited to {args.max_modules} modules",
193201
file=sys.stderr,

spp_banking/README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@ formatting)
102102
Changelog
103103
=========
104104

105+
19.0.2.0.1
106+
~~~~~~~~~~
107+
108+
- fix(views): apply ``spp_registry.x2many_no_padding`` widget to the
109+
Bank Information list on group and individual registrant forms —
110+
removes the four empty placeholder rows Odoo 19 inserts on inline
111+
list-in-form views (#943).
112+
105113
19.0.2.0.0
106114
~~~~~~~~~~
107115

spp_banking/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "OpenSPP Banking: Bank Details",
55
"category": "OpenSPP/Integration",
6-
"version": "19.0.2.0.0",
6+
"version": "19.0.2.0.1",
77
"sequence": 1,
88
"author": "OpenSPP.org",
99
"website": "https://github.com/OpenSPP/OpenSPP2",

spp_banking/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.1
2+
3+
- fix(views): apply `spp_registry.x2many_no_padding` widget to the Bank Information list on group and individual registrant forms — removes the four empty placeholder rows Odoo 19 inserts on inline list-in-form views (#943).
4+
15
### 19.0.2.0.0
26

37
- Initial migration to OpenSPP2

spp_banking/static/description/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,15 @@ <h2><a class="toc-backref" href="#toc-entry-1">Changelog</a></h2>
474474
</div>
475475
</div>
476476
<div class="section" id="section-1">
477+
<h1>19.0.2.0.1</h1>
478+
<ul class="simple">
479+
<li>fix(views): apply <tt class="docutils literal">spp_registry.x2many_no_padding</tt> widget to the
480+
Bank Information list on group and individual registrant forms —
481+
removes the four empty placeholder rows Odoo 19 inserts on inline
482+
list-in-form views (#943).</li>
483+
</ul>
484+
</div>
485+
<div class="section" id="section-2">
477486
<h1>19.0.2.0.0</h1>
478487
<ul class="simple">
479488
<li>Initial migration to OpenSPP2</li>

spp_banking/views/groups_view.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@
1515
<attribute name="invisible">0</attribute>
1616
</xpath>
1717
<xpath expr="//group[@name='group_financial_section']" position="inside">
18-
<field name="bank_ids" readonly="disabled" nolabel="1" colspan="2">
18+
<field
19+
name="bank_ids"
20+
readonly="disabled"
21+
nolabel="1"
22+
colspan="2"
23+
widget="x2many_no_padding"
24+
>
1925
<list editable="top">
2026
<field name="bank_id" options="{'no_quick_create':True}" />
2127
<field name="acc_number" />

spp_banking/views/individuals_view.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
<attribute name="invisible">0</attribute>
1313
</xpath>
1414
<xpath expr="//group[@name='financial_section']" position="inside">
15-
<field name="bank_ids" readonly="disabled" nolabel="1" colspan="2">
15+
<field
16+
name="bank_ids"
17+
readonly="disabled"
18+
nolabel="1"
19+
colspan="2"
20+
widget="x2many_no_padding"
21+
>
1622
<list editable="top">
1723
<field name="bank_id" options="{'no_quick_create':True}" />
1824
<field name="acc_number" />

spp_consent/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,15 @@ Dependencies
193193
Changelog
194194
=========
195195

196+
19.0.2.0.1
197+
~~~~~~~~~~
198+
199+
- fix(views): apply ``spp_registry.x2many_no_padding`` widget to the
200+
Consents list on registrant forms, and hide the table entirely when
201+
there are no consents (showing a muted info line instead) — matches
202+
the empty-state treatment of read-only / no-create lists elsewhere
203+
(#943).
204+
196205
19.0.2.0.0
197206
~~~~~~~~~~
198207

spp_consent/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "OpenSPP Consent",
55
"category": "OpenSPP",
6-
"version": "19.0.2.0.0",
6+
"version": "19.0.2.0.1",
77
"summary": """DPV-aligned consent management for social protection programs.
88
99
Implements ISO/IEC TS 27560:2023 consent record information structure

spp_consent/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.1
2+
3+
- fix(views): apply `spp_registry.x2many_no_padding` widget to the Consents list on registrant forms, and hide the table entirely when there are no consents (showing a muted info line instead) — matches the empty-state treatment of read-only / no-create lists elsewhere (#943).
4+
15
### 19.0.2.0.0
26

37
- Initial migration to OpenSPP2

0 commit comments

Comments
 (0)