Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024532 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] Z. Others | minor | N/A | 2013-08-16 13:20 | 2013-08-21 13:16 | |||
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 | b733b50a1016 | |||
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 | 0024532: Support more variables (tags) when sending emails | |||||||
Description | Currently (before 3.0MP27), the following variables are supported for email templates: * @cus_ref@: The document reference of the customer * @our_ref@: The reference of the document * @cus_nam@: The name of the customer * @sal_nam@: The name of the sales rep. Some other variables could be added to support richer templates. Example: * @bp_nam@: The Business Partner name * @doc_date@: The document date * @doc_desc@: The document description * @doc_nextduedate@: The next due date (if document has associated any payment plan) * @doc_lastduedate@: The last due date (if document has associated any payment plan) | |||||||
Steps To Reproduce | Try to send an invoice by email | |||||||
Proposed Solution | Create the following variables: * @bp_nam@: The Business Partner name * @doc_date@: The document date * @doc_desc@: The document description * @doc_nextduedate@: The next due date (if document has associated any payment plan) * @doc_lastduedate@: The last due date (if document has associated any payment plan) | |||||||
Tags | Coworking | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0060611) vmromanos (viewer) 2013-08-16 13:28 edited on: 2013-08-16 13:29 |
Test plan: 1) Create the SMTP configuration for sending emails at Client window 2) Go to Document Type, select AR Invoice and go to Email Definitions tab 3) In subject set: @cus_nam@ (@bp_nam@). Date @doc_date@ 4) In body set: @cus_ref@: The document reference of the customer @our_ref@: The reference of the document @cus_nam@: The name of the customer @sal_nam@: The name of the sales rep. @doc_date@: The document date @doc_desc@: The document description @doc_nextduedate@: The next due date (if any) @doc_lastduedate@: The last due date (if any) @bp_nam@: The Business Partner name 5) Go to sales invoice window and select any AR Invoice 6) Press the send email button. 7) Ensure the popup is properly shown, informing about the available variables that can be used 8) Send the email to your own account (change the To field) 9) Check your email and ensure the variables have been changed by the right value (if any) 10) Repeat the process for Orders and Payments. |
(0060660) vmromanos (viewer) 2013-08-19 13:51 |
Documentation updated: http://wiki.openbravo.com/wiki/Document_Type#Email_Definitions [^] |
(0060668) hgbot (developer) 2013-08-20 08:21 |
Repository: erp/devel/pi Changeset: b733b50a1016b225135dd31a19b878c6fcb10b4d Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Mon Aug 19 12:03:12 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/b733b50a1016b225135dd31a19b878c6fcb10b4d [^] Fixed bug 24532: Support more variables (tags) when sending emails Created the following new variables: * @bp_nam@: The Business Partner name * @doc_date@: The document date * @doc_desc@: The document description * @doc_nextduedate@: The next due date (if document has associated any payment plan) * @doc_lastduedate@: The last due date (if document has associated any payment plan) --- M src-db/database/sourcedata/AD_COLUMN.xml M src-db/database/sourcedata/AD_ELEMENT.xml M src-db/database/sourcedata/AD_FIELD.xml M src-db/database/sourcedata/AD_TEXTINTERFACES.xml M src/org/openbravo/erpCommon/utility/reporting/Report.java M src/org/openbravo/erpCommon/utility/reporting/Report_data.xsql M src/org/openbravo/erpCommon/utility/reporting/printing/EmailOptions.html M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java --- |
(0060685) 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 |
(0060708) dmiguelez (viewer) 2013-08-21 13:16 |
Code Review + Testing Ok |
![]() |
|||
Date Modified | Username | Field | Change |
2013-08-16 13:20 | vmromanos | New Issue | |
2013-08-16 13:20 | vmromanos | Assigned To | => vmromanos |
2013-08-16 13:20 | vmromanos | Modules | => Core |
2013-08-16 13:20 | vmromanos | OBNetwork customer | => No |
2013-08-16 13:20 | vmromanos | Triggers an Emergency Pack | => No |
2013-08-16 13:21 | vmromanos | Status | new => scheduled |
2013-08-16 13:21 | vmromanos | fix_in_branch | => pi |
2013-08-16 13:21 | vmromanos | Tag Attached: Coworking | |
2013-08-16 13:28 | vmromanos | Note Added: 0060611 | |
2013-08-16 13:28 | vmromanos | Note Edited: 0060611 | View Revisions |
2013-08-16 13:29 | vmromanos | Note Edited: 0060611 | View Revisions |
2013-08-19 13:51 | vmromanos | Note Added: 0060660 | |
2013-08-20 08:21 | hgbot | Checkin | |
2013-08-20 08:21 | hgbot | Note Added: 0060668 | |
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/b733b50a1016b225135dd31a19b878c6fcb10b4d [^] |
2013-08-20 13:31 | vmromanos | Relationship added | related to 0024549 |
2013-08-20 16:14 | hudsonbot | Checkin | |
2013-08-20 16:14 | hudsonbot | Note Added: 0060685 | |
2013-08-21 13:16 | dmiguelez | Review Assigned To | => dmiguelez |
2013-08-21 13:16 | dmiguelez | Note Added: 0060708 | |
2013-08-21 13:16 | dmiguelez | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |