modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
author Carlos Aristu <carlos.aristu@openbravo.com>
Mon, 14 Dec 2015 16:26:16 +0100
changeset 28129 7c6686c84928
parent 21297 e495c1a09754
permissions -rw-r--r--
fixes issue 31676: Some values are not shown in XLS format using MS Office

The detect cell type feature was not working properly for BigInteger values in Office after the Jasper Library Upgrade. A personalized format was applied causing the data not be shown when opening the report.

To solve this problem the detect cell type feature has been disabled. This way, by default, all the values in the XLS will be exported as strings.

This default configuration can be overriden at report level. As an example, the General Ledger Report and Trial Balance report have been updated properly. With this configuration, those reports are now using number formatting for the cells showing the BigDecimal values.
shankar@21297
     1
<?xml version='1.0' encoding='UTF-8'?>
shankar@21297
     2
<data>
shankar@21297
     3
<!--47C1F5E2C77C4758A1E0AEDA79546F58--><AD_MODEL_OBJECT_MAPPING>
shankar@21297
     4
<!--47C1F5E2C77C4758A1E0AEDA79546F58-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[47C1F5E2C77C4758A1E0AEDA79546F58]]></AD_MODEL_OBJECT_MAPPING_ID>
shankar@21297
     5
<!--47C1F5E2C77C4758A1E0AEDA79546F58-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
shankar@21297
     6
<!--47C1F5E2C77C4758A1E0AEDA79546F58-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
shankar@21297
     7
<!--47C1F5E2C77C4758A1E0AEDA79546F58-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
shankar@21297
     8
<!--47C1F5E2C77C4758A1E0AEDA79546F58-->  <AD_MODEL_OBJECT_ID><![CDATA[3F74C9717FE2408484E9DE88159D34C3]]></AD_MODEL_OBJECT_ID>
shankar@21297
     9
<!--47C1F5E2C77C4758A1E0AEDA79546F58-->  <MAPPINGNAME><![CDATA[/org.openbravo.client.querylist/CheckOptionalFilterCallout.html]]></MAPPINGNAME>
shankar@21297
    10
<!--47C1F5E2C77C4758A1E0AEDA79546F58-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
shankar@21297
    11
<!--47C1F5E2C77C4758A1E0AEDA79546F58--></AD_MODEL_OBJECT_MAPPING>
shankar@21297
    12
shankar@21297
    13
</data>