Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023494Openbravo ERP09. Financial managementpublic2013-04-05 10:202013-04-08 13:58
caristu 
caristu 
highmajoralways
closedfixed 
5
pi 
3.0MP23 
ioritzCia
Core
No
0023494: Can't select e-mail print template the second time with a different document type
If the user selects a document to e-mail, the template drop-down list appears correctly. But if we select another document type, and click again in the email button, the list is not showed.
1) Do the e-mail configuration
2) Go to [Sales Order] and select an already posted sales order. Click on the e-mail button. Check that in the pop-up, the template list appears.
3) Select another sales order with a different document type. Click on the email button. Notice that the list is not appearing.
The differentDocTypes hashmap in PrintController class must be cleared every time we call the e-mail pop-up. This hashmap is storing the different document types selected (but at the same time) and in case its size is greater than 1, the template drop-down list should not appear.
No tags attached.
Issue History
2013-04-05 10:20caristuNew Issue
2013-04-05 10:20caristuAssigned To => dmiguelez
2013-04-05 10:20caristuModules => Core
2013-04-05 10:20caristuResolution time => 1367964000
2013-04-05 10:20caristuTriggers an Emergency Pack => No
2013-04-05 10:21caristuIssue Monitored: networkb
2013-04-05 10:21caristuProposed Solution updated
2013-04-05 10:30caristuAssigned Todmiguelez => caristu
2013-04-05 11:35hgbotCheckin
2013-04-05 11:35hgbotNote Added: 0057736
2013-04-05 11:35hgbotStatusnew => resolved
2013-04-05 11:35hgbotResolutionopen => fixed
2013-04-05 11:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/072f7a780fde2567bbd146c9c22ecb1091ef4ef6 [^]
2013-04-07 01:03hudsonbotCheckin
2013-04-07 01:03hudsonbotNote Added: 0057767
2013-04-08 13:58ioritzCiaReview Assigned To => ioritzCia
2013-04-08 13:58ioritzCiaNote Added: 0057781
2013-04-08 13:58ioritzCiaStatusresolved => closed

Notes
(0057736)
hgbot   
2013-04-05 11:35   
Repository: erp/devel/pi
Changeset: 072f7a780fde2567bbd146c9c22ecb1091ef4ef6
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Fri Apr 05 11:33:30 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/072f7a780fde2567bbd146c9c22ecb1091ef4ef6 [^]

fixes issue 23494: Can't select e-mail print template the second time
 with a different document type

---
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
---
(0057767)
hudsonbot   
2013-04-07 01:03   
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/b03a336bd23b [^]

Maturity status: Test
(0057781)
ioritzCia   
2013-04-08 13:58   
Verified