[FIX] pos_restaurant: fix kitchen ticket display with arabic

Printing a kitchen ticket with arabic product name lead to bad css layout.
The layout has been switched to make it no matter language is used.

closes odoo/odoo#73474

X-original-commit: 3ebfac79abb81a1ab5767c47fdc32f56b049b2df
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
This commit is contained in:
Robin Heinz
2021-07-09 09:26:10 +00:00
parent 66818982b6
commit e9b5556501
2 changed files with 9 additions and 4 deletions
@@ -579,3 +579,8 @@
outline: none;
border-bottom: solid 1px #555555;
}
.multiprint-flex {
display: flex;
justify-content: space-between;
}
@@ -29,9 +29,9 @@
<br />
<br />
<t t-foreach="changes.cancelled" t-as="change">
<div>
<div class="multiprint-flex">
<t t-esc="change.qty"/>
<span t-esc="change.name_wrapped[0]" class="pos-receipt-right-align"/>
<span t-esc="change.name_wrapped[0]"/>
</div>
<t t-call="NameWrapped"/>
<t t-if="change.note">
@@ -55,9 +55,9 @@
<br />
<br />
<t t-foreach="changes.new" t-as="change">
<div>
<div class="multiprint-flex">
<t t-esc="change.qty"/>
<span t-esc="change.name_wrapped[0]" class="pos-receipt-right-align"/>
<span t-esc="change.name_wrapped[0]"/>
</div>
<t t-call="NameWrapped"/>
<t t-if="change.note">