Openbravo Issue Tracking System - Modules
View Issue Details
0019335ModulesTax Report Launcherpublic2011-12-19 17:392012-01-23 11:44
vmromanos 
vmromanos 
normalmajorN/A
closedfixed 
20Debian 5.0
 
 
0019335: Allow tax report launcher to generate ZIP files
ZIP files allow developers to return more than one file to the user. Inside the ZIP file we can include the tax report file (as usual) and other useful files, like PDFs or other text files (XML, etc.)
NA
No tags attached.
Issue History
2011-12-19 17:39vmromanosNew Issue
2011-12-19 17:39vmromanosAssigned To => vmromanos
2011-12-19 17:39vmromanosStatusnew => scheduled
2011-12-19 17:39vmromanosfix_in_branch => pi
2011-12-21 12:31hgbotCheckin
2011-12-21 12:31hgbotNote Added: 0043982
2011-12-21 12:31hgbotStatusscheduled => resolved
2011-12-21 12:31hgbotResolutionopen => fixed
2011-12-21 12:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.module.taxreportlauncher/rev/4b52d065ff48f01fd7c1b0cec1a757fd73fecbf7 [^]
2011-12-21 12:35vmromanosNote Added: 0043983
2012-01-23 11:44psanjuanNote Added: 0044476
2012-01-23 11:44psanjuanStatusresolved => closed
2012-01-23 11:44psanjuanfix_in_branchpi =>

Notes
(0043982)
hgbot   
2011-12-21 12:31   
Repository: erp/mods/org.openbravo.module.taxreportlauncher
Changeset: 4b52d065ff48f01fd7c1b0cec1a757fd73fecbf7
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Dec 21 12:23:48 2011 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.module.taxreportlauncher/rev/4b52d065ff48f01fd7c1b0cec1a757fd73fecbf7 [^]

Fixed issue 19335: Allow tax report launcher to generate ZIP files

We allow developers of reports compatible with the Tax Report Launcher to
return a Set of files for a report. The tax report launcher will create
a ZIP file on the file with all these files.
The a new pair key-value is allowed in the returned Map for the
OBTL_TaxReport_I.generateElectronicFile() method:
  -key: files
  -value: Set<File>


Regression risk medium

Test plan: Try to launch all the available tax reports with and without
giving File Name inside the input parameters section. Ensure all the reports keep
on working as usual

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
M src/org/openbravo/module/taxreportlauncher/Utility/OBTL_Utility.java
M src/org/openbravo/module/taxreportlauncher/erpCommon/ad_reports/OBTL_TaxReportLauncher.java
M src/org/openbravo/module/taxreportlauncher/erpCommon/ad_reports/OBTL_TaxReport_I.java
---
(0043983)
vmromanos   
2011-12-21 12:35   
To test it wait until "Modelo 390" is launched, because it will use this new feature
(0044476)
psanjuan   
2012-01-23 11:44   
fixed and working