Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions spp_banking/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ formatting)
Changelog
=========

19.0.2.0.1
~~~~~~~~~~

- 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).

19.0.2.0.0
~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion spp_banking/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "OpenSPP Banking: Bank Details",
"category": "OpenSPP/Integration",
"version": "19.0.2.0.0",
"version": "19.0.2.0.1",
"sequence": 1,
"author": "OpenSPP.org",
"website": "https://github.com/OpenSPP/OpenSPP2",
Expand Down
4 changes: 4 additions & 0 deletions spp_banking/readme/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 19.0.2.0.1

- 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).

### 19.0.2.0.0

- Initial migration to OpenSPP2
9 changes: 9 additions & 0 deletions spp_banking/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,15 @@ <h2><a class="toc-backref" href="#toc-entry-1">Changelog</a></h2>
</div>
</div>
<div class="section" id="section-1">
<h1>19.0.2.0.1</h1>
<ul class="simple">
<li>fix(views): apply <tt class="docutils literal">spp_registry.x2many_no_padding</tt> 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).</li>
</ul>
</div>
<div class="section" id="section-2">
<h1>19.0.2.0.0</h1>
<ul class="simple">
<li>Initial migration to OpenSPP2</li>
Expand Down
8 changes: 7 additions & 1 deletion spp_banking/views/groups_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
<attribute name="invisible">0</attribute>
</xpath>
<xpath expr="//group[@name='group_financial_section']" position="inside">
<field name="bank_ids" readonly="disabled" nolabel="1" colspan="2">
<field
name="bank_ids"
readonly="disabled"
nolabel="1"
colspan="2"
widget="x2many_no_padding"
>
<list editable="top">
<field name="bank_id" options="{'no_quick_create':True}" />
<field name="acc_number" />
Expand Down
8 changes: 7 additions & 1 deletion spp_banking/views/individuals_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@
<attribute name="invisible">0</attribute>
</xpath>
<xpath expr="//group[@name='financial_section']" position="inside">
<field name="bank_ids" readonly="disabled" nolabel="1" colspan="2">
<field
name="bank_ids"
readonly="disabled"
nolabel="1"
colspan="2"
widget="x2many_no_padding"
>
<list editable="top">
<field name="bank_id" options="{'no_quick_create':True}" />
<field name="acc_number" />
Expand Down
9 changes: 9 additions & 0 deletions spp_consent/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,15 @@ Dependencies
Changelog
=========

19.0.2.0.1
~~~~~~~~~~

- 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).

19.0.2.0.0
~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion spp_consent/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "OpenSPP Consent",
"category": "OpenSPP",
"version": "19.0.2.0.0",
"version": "19.0.2.0.1",
"summary": """DPV-aligned consent management for social protection programs.

Implements ISO/IEC TS 27560:2023 consent record information structure
Expand Down
4 changes: 4 additions & 0 deletions spp_consent/readme/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 19.0.2.0.1

- 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).

### 19.0.2.0.0

- Initial migration to OpenSPP2
10 changes: 10 additions & 0 deletions spp_consent/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,16 @@ <h2><a class="toc-backref" href="#toc-entry-1">Changelog</a></h2>
</div>
</div>
<div class="section" id="section-1">
<h1>19.0.2.0.1</h1>
<ul class="simple">
<li>fix(views): apply <tt class="docutils literal">spp_registry.x2many_no_padding</tt> 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).</li>
</ul>
</div>
<div class="section" id="section-2">
<h1>19.0.2.0.0</h1>
<ul class="simple">
<li>Initial migration to OpenSPP2</li>
Expand Down
26 changes: 24 additions & 2 deletions spp_consent/views/registrant_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,24 @@ Part of OpenSPP. See LICENSE file for full copyright and licensing details.

<!-- Add consent field to verification section -->
<xpath expr="//group[@name='verification_section']" position="inside">
<field name="consent_ids" nolabel="1" readonly="1">
<separator string="Consents" colspan="2" />
<field
name="consent_ids"
nolabel="1"
readonly="1"
widget="x2many_no_padding"
invisible="not consent_ids"
colspan="2"
>
<list>
<field name="name" />
<field name="signatory_id" column_invisible="1" />
<field name="expiry" />
</list>
</field>
<div class="text-muted small" invisible="consent_ids" colspan="2">
No consents recorded yet. Click "Record Consent" above to add one.
</div>
</xpath>

<xpath expr="//div[@name='button_box']" position="inside">
Expand Down Expand Up @@ -59,13 +70,24 @@ Part of OpenSPP. See LICENSE file for full copyright and licensing details.

<!-- Add consent field to verification section -->
<xpath expr="//group[@name='group_verification_section']" position="inside">
<field name="consent_ids" nolabel="1" readonly="1">
<separator string="Consents" colspan="2" />
<field
name="consent_ids"
nolabel="1"
readonly="1"
widget="x2many_no_padding"
invisible="not consent_ids"
colspan="2"
>
<list>
<field name="name" />
<field name="signatory_id" />
<field name="expiry" />
</list>
</field>
<div class="text-muted small" invisible="consent_ids" colspan="2">
No consents recorded yet. Click "Record Consent" above to add one.
</div>
</xpath>

<xpath expr="//div[@name='button_box']" position="inside">
Expand Down
7 changes: 7 additions & 0 deletions spp_disability_registry/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ Key Features
Changelog
=========

19.0.2.0.1
~~~~~~~~~~

- fix(views): apply ``spp_registry.x2many_no_padding`` widget to the
disability assessments list on registrant forms, and hide the table
when empty (showing a muted info line instead) (#943).

19.0.2.0.0
~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion spp_disability_registry/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "OpenSPP Disability Registry",
"version": "19.0.2.0.0",
"version": "19.0.2.0.1",
"category": "OpenSPP",
"summary": "Disability assessment and registry management for social protection",
"author": "OpenSPP.org",
Expand Down
4 changes: 4 additions & 0 deletions spp_disability_registry/readme/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 19.0.2.0.1

- fix(views): apply `spp_registry.x2many_no_padding` widget to the disability assessments list on registrant forms, and hide the table when empty (showing a muted info line instead) (#943).

### 19.0.2.0.0

- Initial migration to OpenSPP2
8 changes: 8 additions & 0 deletions spp_disability_registry/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,14 @@ <h2><a class="toc-backref" href="#toc-entry-1">Changelog</a></h2>
</div>
</div>
<div class="section" id="section-1">
<h1>19.0.2.0.1</h1>
<ul class="simple">
<li>fix(views): apply <tt class="docutils literal">spp_registry.x2many_no_padding</tt> widget to the
disability assessments list on registrant forms, and hide the table
when empty (showing a muted info line instead) (#943).</li>
</ul>
</div>
<div class="section" id="section-2">
<h1>19.0.2.0.0</h1>
<ul class="simple">
<li>Initial migration to OpenSPP2</li>
Expand Down
14 changes: 13 additions & 1 deletion spp_disability_registry/views/registrant_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,18 @@
<i class="fa fa-plus me-1" /> New Assessment
</button>
</div>
<div
invisible="disability_assessment_count != 0"
class="text-muted small"
>
No disability assessments yet.
</div>
Comment on lines +171 to +176
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This empty state message is unreachable because it is placed inside a container (at line 157 in the full file) that is hidden when disability_assessment_count == 0. To show this message when the list is empty, it must be moved outside that parent container.

<field
name="disability_assessment_ids"
readonly="1"
nolabel="1"
widget="x2many_no_padding"
invisible="disability_assessment_count == 0"
>
<list
limit="10"
Expand Down Expand Up @@ -210,7 +218,11 @@
Unmet Device Need
</span>
</div>
<field name="assistive_device_ids" nolabel="1">
<field
name="assistive_device_ids"
nolabel="1"
widget="x2many_no_padding"
>
<list editable="bottom">
<field
name="device_type_id"
Expand Down
7 changes: 7 additions & 0 deletions spp_event_data/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,13 @@ Dependencies
Changelog
=========

19.0.2.0.1
~~~~~~~~~~

- fix(views): apply ``spp_registry.x2many_no_padding`` widget to the
Events list on registrant forms, and hide the table when empty
(showing a muted info line instead) (#943).

19.0.2.0.0
~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion spp_event_data/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "OpenSPP Event Data",
"category": "OpenSPP",
"version": "19.0.2.0.0",
"version": "19.0.2.0.1",
"sequence": 1,
"author": "OpenSPP.org",
"website": "https://github.com/OpenSPP/OpenSPP2",
Expand Down
4 changes: 4 additions & 0 deletions spp_event_data/readme/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 19.0.2.0.1

- fix(views): apply `spp_registry.x2many_no_padding` widget to the Events list on registrant forms, and hide the table when empty (showing a muted info line instead) (#943).

### 19.0.2.0.0

- Initial migration to OpenSPP2
8 changes: 8 additions & 0 deletions spp_event_data/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,14 @@ <h2><a class="toc-backref" href="#toc-entry-1">Changelog</a></h2>
</div>
</div>
<div class="section" id="section-1">
<h1>19.0.2.0.1</h1>
<ul class="simple">
<li>fix(views): apply <tt class="docutils literal">spp_registry.x2many_no_padding</tt> widget to the
Events list on registrant forms, and hide the table when empty
(showing a muted info line instead) (#943).</li>
</ul>
</div>
<div class="section" id="section-2">
<h1>19.0.2.0.0</h1>
<ul class="simple">
<li>Initial migration to OpenSPP2</li>
Expand Down
22 changes: 20 additions & 2 deletions spp_event_data/views/registrant_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,16 @@
<!-- Additional summary fields -->
</group>
</group>
<field name="event_data_ids" readonly="1" nolabel="1">
<div invisible="event_data_count != 0" class="text-muted small">
No events recorded yet.
</div>
<field
name="event_data_ids"
readonly="1"
nolabel="1"
widget="x2many_no_padding"
invisible="event_data_count == 0"
>
<list>
<field name="name" />
<field name="event_type_id" />
Expand Down Expand Up @@ -84,7 +93,16 @@
<!-- Additional summary fields -->
</group>
</group>
<field name="event_data_ids" readonly="1" nolabel="1">
<div invisible="event_data_count != 0" class="text-muted small">
No events recorded yet.
</div>
<field
name="event_data_ids"
readonly="1"
nolabel="1"
widget="x2many_no_padding"
invisible="event_data_count == 0"
>
<list>
<field name="name" />
<field name="event_type_id" />
Expand Down
7 changes: 7 additions & 0 deletions spp_farmer_registry/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ Model Description
Changelog
=========

19.0.2.0.1
~~~~~~~~~~

- fix(views): apply ``spp_registry.x2many_no_padding`` widget to the
farm activities list on farm forms — removes the four empty
placeholder rows Odoo 19 inserts on inline list-in-form views (#943).

19.0.2.0.0
~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion spp_farmer_registry/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "OpenSPP Farmer Registry",
"summary": "Farmer Registry with vocabulary-based fields, CEL variables, and Logic Studio integration",
"category": "OpenSPP",
"version": "19.0.2.0.0",
"version": "19.0.2.0.1",
"sequence": 1,
"author": "OpenSPP.org",
"website": "https://github.com/OpenSPP/OpenSPP2",
Expand Down
4 changes: 4 additions & 0 deletions spp_farmer_registry/readme/HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 19.0.2.0.1

- fix(views): apply `spp_registry.x2many_no_padding` widget to the farm activities list on farm forms — removes the four empty placeholder rows Odoo 19 inserts on inline list-in-form views (#943).

### 19.0.2.0.0

- Initial migration to OpenSPP2
8 changes: 8 additions & 0 deletions spp_farmer_registry/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,14 @@ <h2><a class="toc-backref" href="#toc-entry-1">Changelog</a></h2>
</div>
</div>
<div class="section" id="section-1">
<h1>19.0.2.0.1</h1>
<ul class="simple">
<li>fix(views): apply <tt class="docutils literal">spp_registry.x2many_no_padding</tt> widget to the
farm activities list on farm forms — removes the four empty
placeholder rows Odoo 19 inserts on inline list-in-form views (#943).</li>
</ul>
</div>
<div class="section" id="section-2">
<h1>19.0.2.0.0</h1>
<ul class="simple">
<li>Initial migration to OpenSPP2</li>
Expand Down
Loading
Loading