fix(fusion_helpdesk_central): findings + summary textareas span full width

The Findings and Summary fields rendered at half-width because their
enclosing <group> defaulted to col="2" — Odoo reserves a label column
even when the field has nolabel="1", so the textarea was squeezed
into the right half of the dialog while the left half sat empty.

Switch both groups to col="1" so the field uses the entire group
width. Also tag both fields with widget="text" explicitly (it was
inferred from the Text field type, but being explicit makes the
intent obvious to anyone reading the view) and migrate the button
row to a flex div so the helper text aligns with the button vertical
center.

Bumps fusion_helpdesk_central to 19.0.2.3.1.
This commit is contained in:
gsinghpal
2026-05-27 13:53:38 -04:00
parent c520803c84
commit fc8963da99
2 changed files with 15 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
# License OPL-1
{
'name': 'Fusion Helpdesk Central — Client API Keys',
'version': '19.0.2.3.0',
'version': '19.0.2.3.1',
'category': 'Productivity',
'summary': 'Admin UI on the central Odoo for issuing per-client API '
'keys used by fusion_helpdesk client deployments.',

View File

@@ -43,21 +43,31 @@
<field name="personal_note"
placeholder="One-line note that appears above the summary in the email…"/>
</group>
<group invisible="mode != 'single'" string="1. Your Findings">
<!--
`col="1"` on these single-column groups makes the
enclosed field span the full group width. The default
`col="2"` reserves a label column even with nolabel=1,
which is what was squeezing the textareas into half
width before. Findings + summary are wide-form inputs
that deserve all the real estate the dialog has.
-->
<group invisible="mode != 'single'" string="1. Your Findings" col="1">
<field name="findings" nolabel="1"
widget="text"
placeholder="What did your investigation surface? Scope, limitations, recommended approach, effort, risks — anything the owner needs to know that the original reporter wouldn't have."/>
</group>
<group invisible="mode != 'single'" string="2. Summary to Send">
<div class="o_row" colspan="2">
<group invisible="mode != 'single'" string="2. Summary to Send" col="1">
<div class="d-flex align-items-center">
<button name="action_generate_summary" type="object"
string="Generate Summary from Findings"
icon="fa-magic"
class="btn-secondary"/>
<span class="o_form_label text-muted ms-2">
<span class="text-muted ms-2">
← click after writing your findings, then review &amp; edit below
</span>
</div>
<field name="ai_summary" nolabel="1"
widget="text"
placeholder="Click Generate Summary above, or write the brief yourself. The owner reads this first."/>
</group>