Openbravo Issue Tracking System - POS2
View Issue Details
0056397POS2Corepublic2024-09-06 11:192024-09-13 10:07
azzeddine_meftoh 
alostale 
highmajorhave not tried
closedfixed 
5
 
24Q4 
No
0056397: when selecting email in print options the document is not persisted in the immutable reports
no email configuration is set on the Client window (if the email configuration is done this issue is not reproduced)

after finishing a sale and selecting the email option for the delivery receipt option

when going to the BO / invoice window / reprint the simplified invoice generated

we get a new simplified invoice not the one that should be generated by the POS and persisted in the immutable reports.

we have this error in the BO :

2024-09-06 10:45:13,243 [Import Entry - 4] ERROR org.openbravo.pos2.mailing.SendEmailLoader - Error while sending the Email with the Ticket: Email server is not configured.
2024-09-06 10:45:13,243 [Import Entry - 4] ERROR org.openbravo.mobile.core.process.DataSynchronizationProcess - org.openbravo.pos2.mailing.SendEmailLoader: There was an error importing record: {"templateData":[{"template":{"dat
conf description
No tags attached.
related to defect 0056447 new Retail failed email sending sets Import Entry as success 
Issue History
2024-09-06 11:19azzeddine_meftohNew Issue
2024-09-06 11:19azzeddine_meftohAssigned To => Triage Platform Base
2024-09-06 11:19azzeddine_meftohTriggers an Emergency Pack => No
2024-09-06 17:02martinsdanNote Added: 0168878
2024-09-06 17:02martinsdanStatusnew => closed
2024-09-06 17:02martinsdanResolutionopen => invalid
2024-09-10 08:23alostaleAssigned ToTriage Platform Base => Triage Platform Conn
2024-09-10 08:23alostaleStatusclosed => new
2024-09-10 08:23alostaleResolutioninvalid => open
2024-09-10 08:23alostaleAssigned ToTriage Platform Conn => alostale
2024-09-10 08:24hgbotNote Added: 0169002
2024-09-13 09:55hgbotNote Added: 0169170
2024-09-13 09:55hgbotResolutionopen => fixed
2024-09-13 09:55hgbotStatusnew => closed
2024-09-13 09:55hgbotFixed in Version => 24Q4
2024-09-13 09:55hgbotNote Added: 0169171
2024-09-13 10:07alostaleRelationship addedrelated to 0056447

Notes
(0168878)
martinsdan   
2024-09-06 17:02   
For the full process to work, an email must be configured.
If the email is configured, the process works, and it was tested.
(0169002)
hgbot   
2024-09-10 08:24   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2912 [^]
(0169170)
hgbot   
2024-09-13 09:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2912 [^]
(0169171)
hgbot   
2024-09-13 09:55   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 67b254f267d2b977a5e43ddfe49bb59a87f84896
Author: Asier Lostalé <a.lostale@orisha.com>
Date: 13-09-2024 07:55:33
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/67b254f267d2b977a5e43ddfe49bb59a87f84896 [^]

fixed BUG-56397: reprintable report not persisted if sending email fails

---
M src/org/openbravo/pos2/mailing/SendEmailLoader.java
---