Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024531
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminoralways2013-08-16 10:312013-08-21 13:15
ReportervmromanosView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision16b6c6165ce8
ProjectionnoneETAnoneTarget Version3.0MP27
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_12
OS VersionDebian 5.0Database version8.3.8Ant version1.7.0
Product VersionpiSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
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

DescriptionWhen 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 Reproduce1. 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0019489 closedguilleaer Variables cannot be used in "Document Type" -> "Report templates" -> "Report filename" field 

-  Notes
(0060656)
vmromanos (manager)
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 (developer)
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 (developer)
2013-08-21 13:15

Code Review + Testing Ok

- Issue History
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 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
Powered by Mantis Bugtracker