Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037933Openbravo ERPA. Platformpublic2018-02-15 14:152018-02-22 18:19
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
3.0PR18Q2 
alostale
Core
No
0037933: Documents printed with PrintController should use the standard connection pool
After issue 0034816, the reporting engine is making use by default of the read only pool (if enabled) to fill the data for the standard reports.

That included those reports generated with the PrintController class, i.e., the reports generated with the print button of the toolbar in the following windows:

- Goods Shipment / Goods Receipt
- Sales Order / Purchase Order
- Sales Invoice / Purchase Invoice
- Payment In / Payment Out

But more than standard reports they should be considered as part of the daily transactional data, for this reason it would be better if this kind of reports would make use of the standard connection pool in order to make us of instant information to fill the resulting file.
In description
No tags attached.
related to feature request 0034816 closed caristu Support a second database for reporting 
related to defect 0042399 closed caristu Toolbar reports are using the readonly pool if configured 
Issue History
2018-02-15 14:15caristuNew Issue
2018-02-15 14:15caristuAssigned To => caristu
2018-02-15 14:15caristuModules => Core
2018-02-15 14:15caristuTriggers an Emergency Pack => No
2018-02-15 14:16caristuRelationship addedrelated to 0034816
2018-02-15 14:18caristuDescription Updatedbug_revision_view_page.php?rev_id=16705#r16705
2018-02-15 16:44hgbotCheckin
2018-02-15 16:44hgbotNote Added: 0102444
2018-02-15 16:44hgbotStatusnew => resolved
2018-02-15 16:44hgbotResolutionopen => fixed
2018-02-15 16:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b8629f698c42c19c1a8dafd7cd9dd9fd6d520915 [^]
2018-02-15 16:45caristuReview Assigned To => alostale
2018-02-16 12:58alostaleNote Added: 0102463
2018-02-16 12:58alostaleStatusresolved => closed
2018-02-16 12:58alostaleFixed in Version => 3.0PR18Q2
2018-02-22 18:19hudsonbotCheckin
2018-02-22 18:19hudsonbotNote Added: 0102770
2019-11-26 13:27AugustoMauchRelationship addedrelated to 0042399

Notes
(0102444)
hgbot   
2018-02-15 16:44   
Repository: erp/devel/pi
Changeset: b8629f698c42c19c1a8dafd7cd9dd9fd6d520915
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Feb 15 16:36:55 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b8629f698c42c19c1a8dafd7cd9dd9fd6d520915 [^]

fixes issue 37933: PrintController documents use the standard connection pool

  Now the documents generated with the PrintController use the standard connection pool. Notice that the reporting engine keeps using the read only pool to retrieve the translations when generating the translated jasper reports.

---
M src/org/openbravo/erpCommon/utility/reporting/ReportManager.java
---
(0102463)
alostale   
2018-02-16 12:58   
reviewed + tested
(0102770)
hudsonbot   
2018-02-22 18:19   
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/980a6ad5bbf5 [^]
Maturity status: Test