Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047465Retail ModulesSend By Emailpublic2021-07-27 23:172021-08-20 08:26
rafaroda 
rqueralta 
normalmajorhave not tried
closedfixed 
5
 
 
No
0047465: Send Email module: "Web POS action Print Receipts Automatically" preference is not working
Send Email module: "Web POS action Print Receipts Automatically" preference is not working

See description of related 0047200

But now with Send Email
* Install Send Email Module
* Configure "Web POS action Print Receipts Automatically" preference = N

* With a terminal with Touchpoint Type where Generate Simplified Invoice = N, create a ticket and click on Issue Invoice: then click on Print + Email when paying it:
** You get only printed the Invoice: OK
** But emailed you receive both the Receipt and the Invoice: KO, you should only receive the invoice

* With a terminal with Touchpoint Type where Generate Simplified Invoice = Y, when clicking on Issue Invoice, same behavior as above
* When doing a regular ticket that leads to a simplified invoice:
** You get only printed the Simplified Invoice: OK
** But emailed you receive both the Receipt and the Simplified Invoice: KO, you should only receive the simplified invoice
With "Web POS action Print Receipts Automatically" preference = N and Send Email the behavior should be the same when emailed as it is for printing as described in 0047200
NOR
related to defect 0047200 closed rqueralta Web POS action Print Receipts Automatically" preference is not working 
related to defect 0045581 closed prakashmurugesan88 Preference "Web POS action Print invoices automatically" is not correctly taken into account when finalizing a receipt 
Issue History
2021-07-27 23:17rafarodaNew Issue
2021-07-27 23:17rafarodaAssigned To => Retail
2021-07-27 23:17rafarodaResolution time => 1628978400
2021-07-27 23:17rafarodaTriggers an Emergency Pack => No
2021-07-27 23:17rafarodaTag Attached: NOR
2021-07-27 23:17rafarodaRelationship addedrelated to 0047200
2021-07-27 23:17rafarodaRelationship addedrelated to 0045581
2021-07-29 05:22rqueraltaAssigned ToRetail => rqueralta
2021-07-29 05:23rqueraltaStatusnew => scheduled
2021-07-30 09:45adrianromeroStatusscheduled => acknowledged
2021-08-04 17:36adrianromeroStatusacknowledged => scheduled
2021-08-05 03:42hgbotNote Added: 0130979
2021-08-06 19:01hgbotNote Added: 0131027
2021-08-06 19:11hgbotNote Added: 0131028
2021-08-20 08:26hgbotNote Added: 0131227
2021-08-20 08:26hgbotResolutionopen => fixed
2021-08-20 08:26hgbotStatusscheduled => closed
2021-08-20 08:26hgbotNote Added: 0131228

Notes
(0130979)
hgbot   
2021-08-05 03:42   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sendemail/-/merge_requests/4 [^]
(0131027)
hgbot   
2021-08-06 19:01   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sendemail/-/merge_requests/4 [^]
(0131028)
hgbot   
2021-08-06 19:11   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sendemail/-/merge_requests/5 [^]
(0131227)
hgbot   
2021-08-20 08:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sendemail/-/merge_requests/5 [^]
(0131228)
hgbot   
2021-08-20 08:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sendemail [^]
Changeset: 13c9370613b6d41bbeaad405769c47336cee49bc
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 2021-08-04T15:29:06-04:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sendemail/-/commit/13c9370613b6d41bbeaad405769c47336cee49bc [^]

Fixed BUG-47465: Take into account the "Web POS action Print Receipts Automatically" preference

---
M src/org/openbravo/retail/sendemail/classes/OBSMAIL_MailSender.java
---