Commit Graph

142 Commits

Author SHA1 Message Date
Pedro M. Baeza
ff57182e9c [IMP] report_xml: Clarification in README
Previous instructions were misleading
2022-01-04 14:11:10 +02:00
oca-travis
d769b2bf94 [UPD] Update report_xml.pot 2022-01-04 14:11:10 +02:00
Dennis Sluijk
2a05570c0e [FIX] report_xml readme 2022-01-04 14:11:10 +02:00
Naglis Jonaitis
149fe464e3 [IMP] report_fillpdf, report_xlsx, report_xml: Use content_disposition helper 2022-01-04 14:11:10 +02:00
OCA Transbot
df815c2dc9 OCA Transbot updated translations from Transifex 2022-01-04 14:11:10 +02:00
Enric Tobella
9292af2d04 [MIG] report_xml: Migration to 11.0 2022-01-04 14:11:10 +02:00
OCA Transbot
3db2a4f4d7 OCA Transbot updated translations from Transifex 2022-01-04 14:11:10 +02:00
etobella
31b26c664b [MIG] report_xml: Migration to 10.0 2022-01-04 14:11:10 +02:00
Stéphane Bidoul (ACSONE)
0a3aab2ed6 prefix versions with 8.0 2022-01-04 14:11:10 +02:00
Jairo Llopis
dae5f49564 Credit creators, using same name across modules to avoid split statistics. 2022-01-04 14:11:10 +02:00
Jairo Llopis
34c5290e03 Return supers. 2022-01-04 14:11:10 +02:00
Jairo Llopis
d799ca3d6c Clean AGPL garbage preserving copyright.
See 0bd4545348.
2022-01-04 14:11:10 +02:00
Jairo Llopis
cdb74516c9 Add module report_xml_sample. 2022-01-04 14:11:10 +02:00
Jairo Llopis
3077047543 Oops, this header belongs to other module. 2022-01-04 14:11:10 +02:00
Jairo Llopis
7ebbb1c61a Clearer code comments, add logging. 2022-01-04 14:11:10 +02:00
Jairo Llopis
7d35c77c06 Only replace the docs key if it is missing. 2022-01-04 14:11:10 +02:00
Jairo Llopis
fca4551e3e Allow docargs to be loaded from context. 2022-01-04 14:11:10 +02:00
Jairo Llopis
ee9934318d Fix XML tag mismatch. 2022-01-04 14:11:10 +02:00
Jairo Llopis
ee83471008 Sort links. 2022-01-04 14:11:10 +02:00
Jairo Llopis
8f4bfbf68b Add sample module. 2022-01-04 14:11:10 +02:00
Jairo Llopis
d9eead419e Easier XSD checking reports.
Any report inheriting this AbstractModel can check its XML results
against any XSD.
2022-01-04 14:11:10 +02:00
Jairo Llopis
3f465d9eb9 Add template utf8_header.
Almost any XML must start with this. Let's make it easier.
2022-01-04 14:11:10 +02:00
Jairo Llopis
4a8b3b643b Add module report_xml. 2022-01-04 14:11:10 +02:00
OCA-git-bot
26c9ee042c [UPD] addons table in README.md 2021-12-14 12:30:54 +00:00
OCA-git-bot
4f70148dd2 report_xlsx 15.0.1.0.1 2021-12-14 12:30:49 +00:00
OCA-git-bot
87fc810e42 Merge PR #560 into 15.0
Signed-off-by sebalix
2021-12-14 12:28:15 +00:00
Jaime Arroyo
cddb81f264 [12.0][FIX] Report xlsx res_partner 2021-12-14 11:37:06 +01:00
oca-ci
50d46ca8c0 [UPD] Update report_xlsx.pot 2021-12-11 11:28:54 +00:00
OCA-git-bot
20bf825797 [ADD] setup.py 2021-12-11 11:27:08 +00:00
OCA-git-bot
f8f9f9935d [UPD] README.rst 2021-12-11 11:27:07 +00:00
OCA-git-bot
b0c15ab81d [UPD] addons table in README.md 2021-12-11 11:27:06 +00:00
Pedro M. Baeza
a94fb9db3c Merge pull request #554 from ForgeFlow/15.0-mig-report_xlsx
[15.0][MIG] report_xlsx: Migration to 15.0
2021-12-11 12:27:03 +01:00
Christopher Ormaza
bc9203ab0b [FIX] report_xlsx: refactor controller and report hamdler 2021-12-10 11:00:22 +01:00
Joan Mateu Jordi
fee318323e [MIG] report_xlsx: Migration to 15.0 2021-12-10 10:12:17 +01:00
Simon S
8ca53e0bcf Translated using Weblate (Swedish)
Currently translated at 92.3% (12 of 13 strings)

Translation: reporting-engine-14.0/reporting-engine-14.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_xlsx/sv/
2021-12-10 10:12:17 +01:00
Simon S
f7ee6aadc2 Added translation using Weblate (Swedish) 2021-12-10 10:12:17 +01:00
OCA-git-bot
20d8c5c4eb report_xlsx 14.0.1.0.4 2021-12-10 10:12:17 +01:00
OCA-git-bot
6ca4aa2ecb [UPD] README.rst 2021-12-10 10:12:17 +01:00
Eugene Molotov
e1aa558895 [FIX] report_xlsx: correctly handle exceptions, when generating report
Before this commit, when exception is raised while generating report,
on browser window instead of python traceback nothing was shown
on production environment or werkzeug's "Console locked" message
on development environment.
2021-12-10 10:12:17 +01:00
OCA-git-bot
916ec9b71c report_xlsx 14.0.1.0.3 2021-12-10 10:12:17 +01:00
david
a9e7c0396b [IMP][FIX] report_xlsx: handle duplicate name exceptions
We want to avoid duplicated sheet names exceptions the same following the same
philosophy that Odoo implements overriding the main library to avoid the 31
characters limit triming the strings before sending them to the library.

In some cases, there's not much control over this as the reports send automated
data and the potential exception is hidden underneath making it hard to debug
the original issue. Even so, different names can become the same one as their
strings are trimmed to those 31 character limit.

This way, once we come across with a duplicated, we set that final 3 characters
with a sequence that we evaluate on the fly. So for instance:

- 'Sheet name' will be 'Sheet name~01'
- The next 'Sheet name' will try to rename to 'Sheet name~01' as well and then
  that will give us 'Sheet name~02'.
- And the next 'Sheet name' will try to rename to 'Sheet name~01' and then to
  'Sheet name~02' and finally it will be able to 'Sheet name~03'.
- An so on as many times as duplicated sheet names come to the workbook up to
  100 for each sheet name. We set such limit as we don't want to truncate the
  strings too much and keeping in mind that this issue don't usually ocurrs.

TT31938
2021-12-10 10:12:17 +01:00
Pedro Castro Silva
41307ebdb4 Translated using Weblate (Portuguese)
Currently translated at 100.0% (13 of 13 strings)

Translation: reporting-engine-14.0/reporting-engine-14.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_xlsx/pt/
2021-12-10 10:12:17 +01:00
OCA-git-bot
f7f6dd172c report_xlsx 14.0.1.0.2 2021-12-10 10:12:17 +01:00
OCA-git-bot
6e02bbd582 [UPD] README.rst 2021-12-10 10:12:17 +01:00
Stéphane Bidoul
65645f64b2 report_xlsx: bump development status [ci skip] 2021-12-10 10:12:17 +01:00
Ana Suárez
53af3e0111 Translated using Weblate (Spanish)
Currently translated at 84.6% (11 of 13 strings)

Translation: reporting-engine-14.0/reporting-engine-14.0-report_xlsx
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-14-0/reporting-engine-14-0-report_xlsx/es/
2021-12-10 10:12:17 +01:00
OCA-git-bot
cb937cf99b report_xlsx 14.0.1.0.1 2021-12-10 10:12:17 +01:00
Saran440
63beeed36c [FIX] safe_eval object time 2021-12-10 10:12:17 +01:00
OCA-git-bot
73dba2e92a [UPD] README.rst 2021-12-10 10:12:17 +01:00
oca-travis
cb18daa532 [UPD] Update report_xlsx.pot 2021-12-10 10:12:17 +01:00