Files
project_v19/report_xlsx/controllers/__pycache__/main.cpython-312.pyc
T

28 lines
5.2 KiB
Plaintext
Raw Normal View History

2026-07-01 14:41:49 +07:00
Ë
V|ªiãó¢ddlZddlZddlmZddlmZmZmZddlmZ ddl
m Z ddl m
Z
mZddlmZej"e«ZGdd e«Zy)
éN)Ú
url_decode)Úcontent_dispositionÚrequestÚroute)Úserialize_exception)Ú html_escape)Ú safe_evalÚtime)ÚReportControllercóTeZdZe«dˆfd„ «Ze«dˆfd„ «ZˆxZS)r c ó¼|dk(r?tjdj|«}ttjj«}|r'|j d«Dcgc]
}t
|«Œ}}|jd«r3|jtj|jd«««|jd«r/tj|d«|d<|j|d«|jd i|¤Žj|||¬«d}dd t|«fg} tj|| ¬
«St!
|D|||fi|¤ŽScc}w) xlsxúir.actions.reportúoptionsÚcontext)Údatar)z Content-TypezAapplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetzContent-Length)Úheaders©)rÚenvÚ_get_report_from_nameÚdictrÚsplitÚintÚgetÚupdateÚjsonÚloadsÚpopÚ with_contextÚ _render_xlsxÚlenÚ
make_responseÚsuperÚ
report_routes) ÚselfÚ
reportnameÚdocidsÚ converterrÚreportrÚirÚxlsxhttpheadersÚ __class__s €ú1/mnt/extra-addons/report_xlsx/controllers/main.pyr%zReportController.report_routess9ø€à ˜Ó Ü—[‘[Ð!4ÑKÈJÓWˆœ7Ÿ;™;×/ˆGÙØ*0¯,©,°sÓ*;Ö< Qœ#˜a<Ðx‰x˜ Ô œDŸJ™J t§x¡x° Ó':Óx‰x˜ Ô"Ü"&§*¡*¨T°)©_Ó"=Yؘt I™Ô&6×Ñ1טF¨ðàñˆDðð"¤3 t£9Ð ˆ×°Ô ‰wÑ$ Z°¸ÑKÀdÑKùò#=sÁ"Ecó\tj|«}|d|d}}|dk(r |jd«djd«d}d} d|vr|jd«\}} | r|j|| d|¬«}
n¤t t |jd«d«j
««}d|vrVtj|xsd «tj|jd««} }tji|¥| ¥«}|j|fd|d
œ|¤Ž}
tjd j|«} | jd }
| r| jd
«Dcgc]
}t|«Œ}}tj| jj|«}| j r0t#|«dkDs"t%| j |t&dœ«}|d }
|
j(j+d«s%|
j(j-dt/|
««|
St<|}||||¬«Scc}w#t0$rb}t2j5d«t7|«}dd|dœ}tj8t;tj|«««cYd}~Sd}~wwxYw)Nrérz
/report/xlsx/Ú/)r(r)rrz{})r)rrz.xlsxr)Úobjectr
zContent-Dispositionz Error while generating report %séÈzOdoo Server Error)ÚcodeÚmessager)ÚtokenÚreadonly) rrrr%rrÚitemsrÚdumpsrrrÚnamerÚmodelÚbrowseÚprint_report_namer"r r