Openbravo Issue Tracking System - POS2
View Issue Details
0058303POS2POSpublic2025-03-20 19:152025-03-27 12:21
vbenitez 
fofarril 
normalminoralways
closedduplicate 
5
 
 
open
No
No
0058303: Sales ticket with the tempate defined by the client is not send by email
The sales ticket is not send by email when selecting the client's template within the window

Even the config that appears in the screenshot is not mandatory to send an email, the process fails when does not exist
Organization--> Print ticket template--> Client receipt template

However when changing the configuration to the standard of OB, the sales ticket is send.

Steps to reproduce:

BO:

Organization-->Print ticket template--> Client receipt template

POS

Select pick up in store

Do a partial payment
 Improve the Mailer.java getDocumentTemplate function (line 138) to take into account that org.getObposCDoctype().getDocumentTemplateList() can be null
No tags attached.
Issue History
2025-03-20 19:15vbenitezNew Issue
2025-03-20 19:15vbenitezAssigned To => Retail
2025-03-20 19:15vbenitezOBNetwork customer => No
2025-03-20 19:15vbenitezTriggers an Emergency Pack => No
2025-03-21 08:10vbenitezSummaryRegression. Sales ticket with the escapa template is not send by email => Regression. Sales ticket with the tempate defined by the client is not send by email
2025-03-21 08:10vbenitezDescription Updatedbug_revision_view_page.php?rev_id=29387#r29387
2025-03-21 08:10vbenitezSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29389#r29389
2025-03-21 09:26jorgewederagoSeveritymajor => minor
2025-03-21 09:26jorgewederagoSummaryRegression. Sales ticket with the tempate defined by the client is not send by email => Sales ticket with the tempate defined by the client is not send by email
2025-03-21 10:04jorgewederagoStatusnew => acknowledged
2025-03-21 10:04jorgewederagoAssigned ToRetail => jorgewederago
2025-03-24 13:35jorgewederagoAssigned Tojorgewederago => fofarril
2025-03-24 13:36jorgewederagoNote Added: 0177177
2025-03-24 13:36jorgewederagoStatusacknowledged => scheduled
2025-03-26 18:22hgbotMerge Request Status => open
2025-03-26 18:22hgbotNote Added: 0177294
2025-03-27 12:21hgbotNote Added: 0177623
2025-03-27 12:21hgbotStatusscheduled => closed
2025-03-27 12:21hgbotResolutionopen => duplicate

Notes
(0177177)
jorgewederago   
2025-03-24 13:36   
The proposal has been accepted since any other possible solution may cause unintended regressions. Since we have code which can work without the lower level of the configuration it does not make sense to enforce the 2nd leve. This looks like a remnant of the original implementation in Enyo
(0177294)
hgbot   
2025-03-26 18:22   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3674 [^]
(0177623)
hgbot   
2025-03-27 12:21   
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24360 [^]