Openbravo Issue Tracking System - POS2
View Issue Details
0056735POS2POSpublic2024-10-10 14:152024-11-22 14:16
nicolasuriz 
fofarril 
highmajoralways
closedfixed 
5
 
 
approved
OBPS
No
0056735: 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.
depends on backport 005718624Q4 closed fofarril Cancel Order Template is not being translated to any language (tested with French printing). 
depends on backport 005718724Q3.3 closed fofarril Cancel Order Template is not being translated to any language (tested with French printing). 
Issue History
2024-10-10 14:15nicolasurizNew Issue
2024-10-10 14:15nicolasurizAssigned To => Retail
2024-10-10 14:15nicolasurizOBNetwork customer => OBPS
2024-10-10 14:15nicolasurizTriggers an Emergency Pack => No
2024-10-14 13:57jorgewederagoAssigned ToRetail => fofarril
2024-10-14 15:31fofarrilStatusnew => scheduled
2024-10-15 18:43hgbotMerge Request Status => open
2024-10-15 18:43hgbotNote Added: 0170458
2024-10-18 14:00hgbotMerge Request Statusopen => approved
2024-10-25 13:02hgbotMerge Request Statusapproved => open
2024-11-19 15:49hgbotMerge Request Statusopen => approved
2024-11-19 16:10jorgewederagoStatusscheduled => acknowledged
2024-11-19 16:10jorgewederagoStatusacknowledged => scheduled
2024-11-19 16:23jorgewederagoRelationship deleteddepends on 0057188
2024-11-22 14:16hgbotNote Added: 0172475
2024-11-22 14:16hgbotResolutionopen => fixed
2024-11-22 14:16hgbotStatusscheduled => closed
2024-11-22 14:16hgbotFixed in Version => RR25Q1
2024-11-22 14:16hgbotNote Added: 0172476

Notes
(0170458)
hgbot   
2024-10-15 18:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1722 [^]
(0172475)
hgbot   
2024-11-22 14:16   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1722 [^]
(0172476)
hgbot   
2024-11-22 14:16   
Directly closing issue as related merge request is already approved.

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

Fixes ISSUE-56735: 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
---