details: https://code.openbravo.com/erp/devel/pi/rev/724835aeebaf
changeset: 16610:724835aeebaf
user: Jon AlegrÃa <jon.alegria <at> openbravo.com>
date: Wed May 23 19:56:50 2012 +0200
summary: Fixes issue 0020577: When sending an email from invoice, order or
shipment,
the organization stored is wrong
Now the organization is obtained from the document and not from the role
diffstat:
src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java |
2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r a7227d12e46e -r 724835aeebaf
src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
---
a/src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
Wed May 23 19:44:01 2012 +0200
+++
b/src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
Wed May 23 19:56:50 2012 +0200
@@ -769,7 +769,7 @@
if (log4j.isDebugEnabled())
log4j.debug("New email id: " + newEmailId);
- EmailData.insertEmail(conn, this, newEmailId, vars.getClient(),
vars.getOrg(),
+ EmailData.insertEmail(conn, this, newEmailId, vars.getClient(),
report.getOrgId(),
vars.getUser(), EmailType.OUTGOING.getStringValue(), replyTo,
recipientTO, recipientCC,
recipientBCC, Utility.formatDate(new Date(), "yyyyMMddHHmmss"),
emailSubject, emailBody,
report.getBPartnerId(),
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits