odoo/odoo#194235

Created by fw-bot
Merged at 11bbea5b5e00fe06e140a6738fcf6bce54c80ec2

Statuses:

label
odoo-dev:saas-18.1-16.0-opw-4357324-disallow_analytic_distribution_title_break-pila-T2-_-fw
head
439fc34c000bf9d87d2d3f604e977c67712e73dc
merged
3 months ago by Pierre Lamotte (pila)
odoo/odoo
16.0 #192203
17.0 #194076
saas-17.2 #194147
saas-17.4 #194162
18.0 #194224
saas-18.1 #194235
saas-18.2
saas-18.3
master #194253

[FW][FIX] analytic: force analytic distribution title display nowrap

Steps to reproduce:
- Configure Analytic Accounting via Accounting module's settings;
- Go to Analytic Plans through Accounting / Configuration / Analytic Accounting:
- Select any record and change its name for a really long one;

Capture d’écran 2025-01-02 à 15 21 40

  • Go to Expenses app:
    • Select any expense in the list;
    • Open the Analytic Distribution widget.

Issue:
Long Analytic Plans names are wrapped and may lead to unreadable texts.

Capture d’écran 2025-01-02 à 15 22 28

(from the ticket - Odoo 17)

imagem


Expected:
A smooth UI should display Analytic Plans as when accessed through an invoice line from Accounting app.

Capture d’écran 2025-01-02 à 15 23 16


Cause:
The Analytic Distribution widget style of the invoice view inherits from the list renderer, forcing a nowrap style while the expense view of the same widget does not.


Fix:
Force a nowrap style for that specific widget.

Capture d’écran 2025-01-02 à 15 22 55


opw-4357324


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #194162
Forward-Port-Of: #192203