[FIX] account: Fix manual tax entry display bug

Problem
---------
Fix a display bug happening when manually modifying taxes in bills.

Objective
---------
Get the same behavior as in 15.2

Solution
---------
Colspan was acting weird when clicking the tax to input. It would
expand to the full size allowed. To avoid this behavior, I made the tax
display width to 0%. This makes it impossible for the input to expand
upon clicking.

task-3397951

closes odoo/odoo#132597

X-original-commit: b955f2f448e6e7063aafb6e98985c7afe748fd26
Signed-off-by: Laurent Smet (las) <las@odoo.com>
Signed-off-by: Antoine Boonen (aboo) <aboo@odoo.com>
This commit is contained in:
Antoine Boonen
2023-08-21 22:18:25 +02:00
parent 25b992cccc
commit d852a81645
2 changed files with 3 additions and 1 deletions
@@ -1,3 +1,5 @@
.o_tax_group { width: 0% }
.o_tax_group_edit {
white-space: nowrap;
}
@@ -7,7 +7,7 @@
<label class="o_form_label o_tax_total_label" t-out="props.taxGroup.tax_group_name"/>
</td>
<td>
<td class="o_tax_group">
<t t-if="!props.isReadonly">
<t t-if="['edit', 'disable'].includes(state.value)">
<span class="o_tax_group_edit_input">