Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027116Openbravo ERPA. Platformpublic2014-07-17 17:572014-08-08 18:53
vmromanos 
vmromanos 
normalminorN/A
closedfixed 
20Debian 5.0
pi 
3.0PR14Q43.0PR14Q4 
alostale
Core
No
0027116: Added header and footer when exporting to CSV
The CSV files exported from grid should have the possibility to add an optional header and/or footer, which can be used, for example, for legal purposes (confidentiality of data, restrictions, etc.).

This feature request will add the possibility to define two different preferences ("CSV Header Message" and "CSV Footer Message") from the Preference window where the user can either specify a static text or a message search key. For the latter, the CSV will get the message text and translate it if necessary before printing into the CSV file.

In case these preferences are not set (or with an empty value), the CSV file won't include the header/footer as usual.

Note that this text won't support variables that will be replaced on the fly. However it may span more than 1 line and include strange characters (like © @)
See description.
No tags attached.
Issue History
2014-07-17 17:57vmromanosNew Issue
2014-07-17 17:57vmromanosAssigned To => vmromanos
2014-07-17 17:57vmromanosModules => Core
2014-07-17 17:57vmromanosTriggers an Emergency Pack => No
2014-07-17 17:58vmromanosDescription Updatedbug_revision_view_page.php?rev_id=6089#r6089
2014-07-17 17:59vmromanosStatusnew => scheduled
2014-07-17 17:59vmromanosfix_in_branch => pi
2014-07-18 12:29hgbotCheckin
2014-07-18 12:29hgbotNote Added: 0068727
2014-07-18 12:29hgbotStatusscheduled => resolved
2014-07-18 12:29hgbotResolutionopen => fixed
2014-07-18 12:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fb05bf3da92ea3f2ac25ebb8ef01ab6dac97f5ed [^]
2014-07-21 09:41alostaleReview Assigned To => alostale
2014-07-21 09:41alostaleNote Added: 0068751
2014-07-21 09:41alostaleStatusresolved => closed
2014-07-21 09:41alostaleFixed in Version => 3.0PR14Q4
2014-08-08 18:53hudsonbotCheckin
2014-08-08 18:53hudsonbotNote Added: 0069181

Notes
(0068727)
hgbot   
2014-07-18 12:29   
Repository: erp/devel/pi
Changeset: fb05bf3da92ea3f2ac25ebb8ef01ab6dac97f5ed
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Jul 17 18:30:20 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fb05bf3da92ea3f2ac25ebb8ef01ab6dac97f5ed [^]

Fixed bug 27116: Added header and footer to CSV

---
M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_REF_LIST.xml
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DataSourceServlet.java
---
(0068751)
alostale   
2014-07-21 09:41   
code reviewed + tested
(0069181)
hudsonbot   
2014-08-08 18:53   
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/4450016dee64 [^]
Maturity status: Test