Skip to content

Commit

Permalink
[IMP] point_of_sale: show opening and closing note as multi line
Browse files Browse the repository at this point in the history
before this commit, on printing sales report from pos ui or
from the backend, the opening note and closing note in the
report is shown as single line text, even though user enter
the input in multi line.

* point of sale -> reporting -> session report

after this commit, the opening and closing details in the
same way in which user enter the input also fixed a typo
opening session note

closes odoo#131992

Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
  • Loading branch information
niyasraphy committed Aug 18, 2023
1 parent 80bff89 commit 85e16b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/point_of_sale/views/report_saledetails.xml
Original file line number Diff line number Diff line change
Expand Up @@ -447,12 +447,12 @@
<br/>
<t t-if="opening_note" id="opening_note">
<strong>Opening of session note:</strong>
<t t-esc="opening_note" />
<p t-esc="opening_note" t-options="{'widget': 'text'}"/>
</t>
<br/>
<t t-if="closing_note" id="closing_note">
<strong>End of session note:</strong>
<t t-esc="closing_note" />
<p t-esc="closing_note" t-options="{'widget': 'text'}"/>
</t>
</div>
</t>
Expand Down

0 comments on commit 85e16b6

Please sign in to comment.