diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-03-18 13:55:37 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-03-25 10:06:49 +0000 |
| commit | eaf62e948ad8a075ded94c62abf45780f907ed07 (patch) | |
| tree | 901ff813eddca01f449efb7536d2179b8dd817a5 /addons/web/static/src/xml/base.xml | |
| parent | 5dda9a709eb93af7de5b184cb823b0ebeaad2db1 (diff) | |
[FIX] web: fix grouping content overlap
Issue
- Be in multicompany
- Have a company with a long name
- Install Accounting
- Settings > Currencies > Dollars
- Click on the smart button "Rates"
- Group by company
Company name and rate overlap
Cause
In `_computeDefaultWidths`, we use the method
`_getColumnWidth` which returns a width depending on the
field type.
When you use group by, the fields order doesn't change
so the company name in the group line have the width
of the date field (92px) and there is nothing that
limits the place that the string can takes so there
is overflow.
Solution
As it seems to be something very accurate, I think the
safest solution would be to use the `o-text-overflow`
saas mixin.
OPW-2218143
closes odoo/odoo#48318
X-original-commit: 2898dd4577e12326cbe83dce9fdbdef0e32d51e6
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions
