Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024531 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | minor | always | 2013-08-16 10:31 | 2013-08-21 13:15 | |||
Reporter | vmromanos | View Status | public | |||||
Assigned To | vmromanos | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 16b6c6165ce8 | |||
Projection | none | ETA | none | Target Version | 3.0MP27 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_12 | |||
OS Version | Debian 5.0 | Database version | 8.3.8 | Ant version | 1.7.0 | |||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | dmiguelez | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0024531: @cus_nam@ in report filename replaced by business partner name instead of user name as it's done in email's subject and body | |||||||
Description | When sending a document by email, we can assign some variables that are automatically replaced by the concrete values. These variables works for email subject, body and the attached filename. In the case of the attached filename, the variable @cus_nam@ is wrongly replaced by the business partner name, but it should be replaced by the customer (contact) name, as it's done in the email's subject or body | |||||||
Steps To Reproduce | 1. Go to document type window and select AR Invoice 2. Go to Report Template. Include @cus_nam@ in the report filename 3. Go to emails definition tab and include @cus_name@ in subject and body 4. Send any AR Invoice (you may first need to configure the smtp server at Client window) 5. Check in the email that the file name uses the business partner name and the subject and body use the customer name | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0060656) vmromanos (viewer) 2013-08-19 10:47 |
Test plan: 1) Create the SMTP configuration for sending emails at Client window 2) Go to Document Type, select AR Invoice 3) In Report Filename field set: Sales Invoice-@our_ref@-@cus_nam@_@bp_nam@ 4) Go to Sales Invoice window 5) Select any invoice 6) Press the send email button 7) In the attachment section, ensure the file name contain both the user/contact and the business partner name Example: Sales_Invoice_1000001_Mathieu_Le_Grand_Sleep_Well_Hotels__Co..20130819-104654.pdf 8) Send the email to your account and check it has been successfully sent. |
(0060669) hgbot (developer) 2013-08-20 08:21 |
Repository: erp/devel/pi Changeset: 16b6c6165ce8ed72712ab6dd149ee425163eb3d8 Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Mon Aug 19 10:37:30 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/16b6c6165ce8ed72712ab6dd149ee425163eb3d8 [^] Fixed bug 24531: @cus_nam@ in report filename wrongly replaced It was replaced by the Business Partner name instead of the User/Contact name, as it is done in email's subject and body --- M src/org/openbravo/erpCommon/utility/reporting/Report.java M src/org/openbravo/erpCommon/utility/reporting/Report_data.xsql --- |
(0060686) hudsonbot (viewer) 2013-08-20 16:14 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/e1d10234dde6 [^] Maturity status: Test |
(0060707) dmiguelez (viewer) 2013-08-21 13:15 |
Code Review + Testing Ok |
![]() |
|||
Date Modified | Username | Field | Change |
2013-08-16 10:31 | vmromanos | New Issue | |
2013-08-16 10:31 | vmromanos | Assigned To | => vmromanos |
2013-08-16 10:31 | vmromanos | Modules | => Core |
2013-08-16 10:31 | vmromanos | OBNetwork customer | => No |
2013-08-16 10:31 | vmromanos | Triggers an Emergency Pack | => No |
2013-08-16 10:32 | vmromanos | Relationship added | related to 0019489 |
2013-08-16 10:33 | vmromanos | Status | new => scheduled |
2013-08-16 10:33 | vmromanos | fix_in_branch | => pi |
2013-08-19 10:47 | vmromanos | Note Added: 0060656 | |
2013-08-20 08:21 | hgbot | Checkin | |
2013-08-20 08:21 | hgbot | Note Added: 0060669 | |
2013-08-20 08:21 | hgbot | Status | scheduled => resolved |
2013-08-20 08:21 | hgbot | Resolution | open => fixed |
2013-08-20 08:21 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/16b6c6165ce8ed72712ab6dd149ee425163eb3d8 [^] |
2013-08-20 16:14 | hudsonbot | Checkin | |
2013-08-20 16:14 | hudsonbot | Note Added: 0060686 | |
2013-08-21 13:15 | dmiguelez | Review Assigned To | => dmiguelez |
2013-08-21 13:15 | dmiguelez | Note Added: 0060707 | |
2013-08-21 13:15 | dmiguelez | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |