[FIX] sale: fix quantity non visible in portal

This commit fix the fw port https://github.com/odoo/odoo/pull/58149
which does not work in all scenario

Create a sale order
Put an optional product with long description (no line break)
Save and confirm
Log in the portal with the receiving user, add the optional product to
the order.

The customer can't see the quantity of the optional product.
The number is not showing in the quantity adjustment widet.

opw-2350879

closes odoo/odoo#59801

X-original-commit: 9a91fe7d6064475bc949a5c2aee883ea2f419930
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
Andrea Grazioso (agr-odoo)
2020-10-12 17:01:02 +00:00
parent 54260b1dd0
commit 066f4ec97c
+9 -3
View File
@@ -17,13 +17,19 @@
overflow-wrap: break-word;
}
.sale_tbody input.js_quantity {
min-width: 48px;
text-align: center;
}
.sale_tbody div.input-group.w-50.pull-right {
width: 100% !important;
}
.o_portal .sale_tbody .js_quantity_container {
width: 50%;
.js_quantity {
text-align: center;
padding: 0;
min-width: 48px;
}
.input-group-text {