Openbravo Issue Tracking System - POS2
View Issue Details
0055948POS2POSpublic2024-07-09 10:022024-08-16 14:14
avicente 
fofarril 
highmajoralways
closedfixed 
5
 
24Q4 
No
0055948: Incorrect report filename while sending invoices by mail
Incorrect report filename while sending invoices by mail, the filename used is the defined for the Document type 'POS Order', Instead the one defined for the 'AR Invoice'
In retail_pos2_modules_pgsql BO,
1. Configure 'Client || Email Configuration' for 'The White Valley Group'.
2. Set 'Channel - Touchpoint Type || Show Document Delivery Methods'=True, 'Print'=True and 'Email'=True for 'POS2SD VBS POS2 Terminal Type'
3. Check that in 'Document Type' for the organization 'Vall Blanca Store'.
- For 'VBS AR Invoice', the field 'Report Templates || Report Filename'=Sales Invoice-@our_ref@
- For 'VBS POS Order', the field 'Report Templates || Report Filename'=Sales Order-@our_ref@


In retail_pos2_modules_pgsql POS VBS-3,
1. Create a ticket with invoice.
2. Send the invoice and the receipt by email.
Issue: The name of the attached invoice is Sales Order-@our_ref@ and it should be Sales Invoice-@our_ref@
To use the filename defined for the invoice Document Type
No tags attached.
related to defect 0055626 closed fofarril Incorrect report filename while sending documents by mail 
Issue History
2024-07-09 10:02avicenteNew Issue
2024-07-09 10:02avicenteAssigned To => Retail
2024-07-09 10:02avicenteTriggers an Emergency Pack => No
2024-07-09 10:04avicenteRelationship addedrelated to 0055626
2024-07-09 14:54fofarrilAssigned ToRetail => fofarril
2024-07-09 14:54fofarrilStatusnew => acknowledged
2024-07-13 07:38fofarrilStatusacknowledged => scheduled
2024-07-13 12:58hgbotNote Added: 0166940
2024-08-16 14:14hgbotResolutionopen => fixed
2024-08-16 14:14hgbotStatusscheduled => closed
2024-08-16 14:14hgbotNote Added: 0168178
2024-08-16 14:14hgbotFixed in Version => 24Q4
2024-08-16 14:14hgbotNote Added: 0168179

Notes
(0166940)
hgbot   
2024-07-13 12:58   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2794 [^]
(0168178)
hgbot   
2024-08-16 14:14   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2794 [^]
(0168179)
hgbot   
2024-08-16 14:14   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: b39106cd8aaf5805a37aa11c73758e879acc0537
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 16-08-2024 12:14:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b39106cd8aaf5805a37aa11c73758e879acc0537 [^]

Fixes ISSUE-55948: Incorrect report filename while sending invoices by mail.

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