Error al cerrar plantilla
This commit is contained in:
parent
88085bfa06
commit
4ab3b22f29
|
@ -1191,7 +1191,10 @@ class LIBO(object):
|
|||
options = {'FilterName': 'calc_pdf_Export'}
|
||||
path_pdf = get_path_temp('.pdf')
|
||||
self._template.storeToURL(self._path_url(path_pdf), self._set_properties(options))
|
||||
self._template.close(True)
|
||||
try:
|
||||
self._template.close(True)
|
||||
except:
|
||||
pass
|
||||
data = self._read(path_pdf)
|
||||
_kill(path_ods)
|
||||
_kill(path_pdf)
|
||||
|
|
|
@ -345,7 +345,7 @@ var grid_details_cols = [
|
|||
{id: "valor_unitario", header:{text: 'Valor Unitario', css: 'center'},
|
||||
width: 100, format: format_currency, css: 'right', editor: 'text'},
|
||||
{id: 'descuento', header:{text: 'Descuento', css: 'center'},
|
||||
width: 80, format: format_currency, css: 'right', editor: 'text'},
|
||||
width: 100, format: format_currency, css: 'right', editor: 'text'},
|
||||
{id: 'precio_final', hidden: true, header: 'precio_final', width: 80,
|
||||
format: webix.i18n.priceFormat, css: 'right'},
|
||||
{id: "importe", header:{text: 'Importe', css: 'center'}, width: 150,
|
||||
|
|
Loading…
Reference in New Issue