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:
@@ -3,7 +3,7 @@
|
|||||||
# License OPL-1
|
# License OPL-1
|
||||||
{
|
{
|
||||||
'name': 'Fusion Helpdesk Central — Client API Keys',
|
'name': 'Fusion Helpdesk Central — Client API Keys',
|
||||||
'version': '19.0.2.3.0',
|
'version': '19.0.2.3.1',
|
||||||
'category': 'Productivity',
|
'category': 'Productivity',
|
||||||
'summary': 'Admin UI on the central Odoo for issuing per-client API '
|
'summary': 'Admin UI on the central Odoo for issuing per-client API '
|
||||||
'keys used by fusion_helpdesk client deployments.',
|
'keys used by fusion_helpdesk client deployments.',
|
||||||
|
|||||||
@@ -43,21 +43,31 @@
|
|||||||
<field name="personal_note"
|
<field name="personal_note"
|
||||||
placeholder="One-line note that appears above the summary in the email…"/>
|
placeholder="One-line note that appears above the summary in the email…"/>
|
||||||
</group>
|
</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"
|
<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."/>
|
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>
|
||||||
<group invisible="mode != 'single'" string="2. Summary to Send">
|
<group invisible="mode != 'single'" string="2. Summary to Send" col="1">
|
||||||
<div class="o_row" colspan="2">
|
<div class="d-flex align-items-center">
|
||||||
<button name="action_generate_summary" type="object"
|
<button name="action_generate_summary" type="object"
|
||||||
string="Generate Summary from Findings"
|
string="Generate Summary from Findings"
|
||||||
icon="fa-magic"
|
icon="fa-magic"
|
||||||
class="btn-secondary"/>
|
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 & edit below
|
← click after writing your findings, then review & edit below
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<field name="ai_summary" nolabel="1"
|
<field name="ai_summary" nolabel="1"
|
||||||
|
widget="text"
|
||||||
placeholder="Click Generate Summary above, or write the brief yourself. The owner reads this first."/>
|
placeholder="Click Generate Summary above, or write the brief yourself. The owner reads this first."/>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user