Openbravo Issue Tracking System - POS2
View Issue Details
0057186POS2POSpublic2024-10-10 14:152024-11-22 14:17
nicolasuriz 
fofarril 
highmajoralways
closedfixed 
5
 
24Q4 
approved
OBPS
No
0057186: Cancel Order Template is not being translated to any language (tested with French printing).
When doing a Cancel Order Template in POS, the template is not being translated even though I select French as language to use in the printing.

Technical info:
const printedData = await this.printOrReprint(template, ticketToPrint, {
          reprint,
          reprintableDocument,
          tmpLanguage
        });

tmpLanguage is null in this case
1. Login POS
2. Create a ticket using the prepayment algorithm, paying less than the total and using a delivery mode different than Pick&Carry as it has to not be delivered in order to be able to cancel the order.
3. When the sales order with the previous step conditions is created, search the sales order and click on Cancel Order.
4. While ending the process, in the receipt delivery popup, select a different language than English for printing the template. Check that the Template is wrongly printed.
No tags attached.
blocks defect 0056735 closed fofarril Cancel Order Template is not being translated to any language (tested with French printing). 
Issue History
2024-11-19 16:10jorgewederagoTypedefect => backport
2024-11-19 16:10jorgewederagoTarget Version => 24Q4
2024-11-19 16:58hgbotNote Added: 0172245
2024-11-22 14:17hgbotResolutionopen => fixed
2024-11-22 14:17hgbotStatusscheduled => closed
2024-11-22 14:17hgbotFixed in Version => RR24Q4
2024-11-22 14:17hgbotNote Added: 0172479
2024-11-22 14:17hgbotNote Added: 0172480

Notes
(0172245)
hgbot   
2024-11-19 16:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1788 [^]
(0172479)
hgbot   
2024-11-22 14:17   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: b18017efeb54faa486cb998f95e1e98f32fd42e0
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 22-11-2024 13:17:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/b18017efeb54faa486cb998f95e1e98f32fd42e0 [^]

Fixes ISSUE-57186: Cancel Order Template is not being translated to any...

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CancelTicket.js
M web/org.openbravo.retail.posterminal/res/printcanceledreceipt.xml
---
(0172480)
hgbot   
2024-11-22 14:17   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1788 [^]