odoo/odoo#194235
Created by fw-bot
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- 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;
- 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.
(from the ticket - Odoo 17)
Expected:
A smooth UI should display Analytic Plans
as when accessed through an invoice line from Accounting
app.
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.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr