config/Format.xml.template
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 18 Mar 2015 10:50:25 +0100
changeset 26205 e7c1d9e51ba8
parent 18532 1dfa6006195d
permissions -rw-r--r--
fixed bug 29329: can't download attachments for 2 rows with same name & no ext

When trying to download at once attachemnts for different records that have the
same name and it does not have extension, it fails.

The problem is in case of duplicated names to be included within the zipped file,
a number is appended to the file name before the extension. Extesion is present
is assumed, failing if not.

Fix: don't assume file name has extension.
juanpablo@10
     1
<?xml version="1.0" encoding="UTF-8" ?>
carlos@0
     2
<!--
carlos@0
     3
 *************************************************************************
jordi@1473
     4
 * The contents of this file are subject to the Openbravo Public License 
carlos@0
     5
 * Version 1.1 (the "License"), being the Mozilla Public License 
carlos@0
     6
 * version 1.1  with a permitted attribution clause ; you may not use 
carlos@0
     7
 * this file except in compliance with the License. 
carlos@0
     8
 * You may obtain a copy of the License at  
carlos@0
     9
 * http://www.openbravo.com/legal/license.txt 
carlos@0
    10
 * Software distributed under the License is distributed on an 
carlos@0
    11
 * "AS IS" basis, WITHOUT WARRANTY OF  ANY KIND, either express or 
carlos@0
    12
 * implied. See the License for the specific language governing rights 
carlos@0
    13
 * and  limitations under the License. 
jordi@1473
    14
 * The Original Code is Openbravo ERP. 
ggi@6702
    15
 * The Initial Developer of the Original Code is Openbravo SLU 
ggi@6702
    16
 * All portions are Copyright (C) 2005-2006 Openbravo SLU 
carlos@0
    17
 * All Rights Reserved. 
ggi@6702
    18
 * Contributor(s): Openbravo S.L.U.
carlos@0
    19
 ************************************************************************
carlos@0
    20
-->
carlos@0
    21
carlos@0
    22
carlos@0
    23
<!--<!DOCTYPE FormatClass SYSTEM "FormatClass.dtd">-->
carlos@0
    24
<Formats>
carlos@0
    25
   <Number name="euroInform"
adrianromero@12076
    26
       decimal="." grouping="," formatOutput="#,##0.00" formatInternal="#0.00" />
carlos@0
    27
   <Number name="euroRelation"
gorkaion@3404
    28
       decimal="." grouping="," formatOutput="#,##0.00" formatInternal="#0.00" />
carlos@0
    29
   <Number name="euroEdition"
carlos@0
    30
       decimal="." grouping="," formatOutput="#0.00" formatInternal="#0.00" />
carlos@0
    31
   <Number name="euroExcel"
adrianromero@12076
    32
       decimal="." grouping="," formatOutput="#,##0.##" formatInternal="#0.00" />
carlos@0
    33
   <Number name="priceInform"
adrianromero@18532
    34
       decimal="." grouping="," formatOutput="#,##0.00" formatInternal="#0.00" />
carlos@0
    35
   <Number name="priceRelation"
gorkaion@3404
    36
       decimal="." grouping="," formatOutput="#,##0.00" formatInternal="#0.00" />
carlos@0
    37
   <Number name="priceEdition"
carlos@0
    38
       decimal="." grouping="," formatOutput="#0.00" formatInternal="#0.00" />
carlos@0
    39
   <Number name="integerInform"
adrianromero@12076
    40
       decimal="." grouping="," formatOutput="#,##0" formatInternal="#0" />
carlos@0
    41
   <Number name="integerRelation"
carlos@0
    42
       decimal="." grouping="," formatOutput="#,##0" formatInternal="#0" />
carlos@0
    43
   <Number name="integerEdition"
carlos@0
    44
       decimal="." grouping="," formatOutput="#0" formatInternal="#0" />
carlos@0
    45
   <Number name="integerExcel"
adrianromero@12076
    46
       decimal="." grouping="," formatOutput="#,##0" formatInternal="#0" />
carlos@0
    47
   <Number name="priceExcel"
adrianromero@12076
    48
       decimal="." grouping="," formatOutput="#,##0.##" formatInternal="#0.00" />
carlos@0
    49
   <Number name="qtyRelation"
carlos@0
    50
       decimal="." grouping="," formatOutput="#,##0.###" formatInternal="#0.000" />
carlos@0
    51
   <Number name="qtyEdition"
david@4729
    52
       decimal="." grouping="," formatOutput="#0.###" formatInternal="#0.000" />
carlos@0
    53
   <Number name="qtyExcel"
adrianromero@12076
    54
       decimal="." grouping="," formatOutput="#,##0.###" formatInternal="#0.000" />
carlos@0
    55
   <Number name="generalQtyRelation"
carlos@0
    56
       decimal="." grouping="," formatOutput="#,##0.######" formatInternal="#0.000000" />
carlos@0
    57
   <Number name="generalQtyEdition"
carlos@0
    58
       decimal="." grouping="," formatOutput="#0.######" formatInternal="#0.000000" />
carlos@0
    59
   <Number name="generalQtyExcel"
adrianromero@12076
    60
       decimal="." grouping="," formatOutput="#,##0.######" formatInternal="#0.000000" />
carlos@0
    61
   <Number name="amountInform"
adrianromero@12076
    62
       decimal="." grouping="," formatOutput="#,##0.00" formatInternal="#0.00" />
carlos@0
    63
</Formats>