From f93dd6165271d5dce412bf74b7672e44306d3ab2 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 19 Aug 2024 12:20:10 +0000 Subject: [PATCH] [BOT] post-merge updates --- README.md | 2 +- report_xlsx/README.rst | 21 ++++++++------- report_xlsx/__manifest__.py | 2 +- report_xlsx/static/description/index.html | 32 +++++++++++++---------- 4 files changed, 31 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 7122a7764..8db84585a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ addon | version | maintainers | summary [report_qweb_parameter](report_qweb_parameter/) | 17.0.1.0.0 | | Add new parameters for qweb templates in order to reduce field length and check minimal length [report_substitute](report_substitute/) | 17.0.1.0.0 | [![sbejaoui](https://github.com/sbejaoui.png?size=30px)](https://github.com/sbejaoui) | This module allows to create substitution rules for report actions. [report_wkhtmltopdf_param](report_wkhtmltopdf_param/) | 17.0.1.0.0 | | Add new parameters for a paper format to be used by wkhtmltopdf command as arguments. -[report_xlsx](report_xlsx/) | 17.0.1.0.0 | | Base module to create xlsx report +[report_xlsx](report_xlsx/) | 17.0.1.0.1 | | Base module to create xlsx report [report_xlsx_helper](report_xlsx_helper/) | 17.0.1.0.1 | | Report xlsx helpers [report_xml](report_xml/) | 17.0.1.0.0 | | Allow to generate XML reports [sql_export](sql_export/) | 17.0.1.0.0 | [![legalsylvain](https://github.com/legalsylvain.png?size=30px)](https://github.com/legalsylvain) | Export data in csv file with SQL requests diff --git a/report_xlsx/README.rst b/report_xlsx/README.rst index e49506bd6..66f5431ed 100644 --- a/report_xlsx/README.rst +++ b/report_xlsx/README.rst @@ -7,7 +7,7 @@ Base report xlsx !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:eac09290cc88cd06dd772db4fc71b344b37f272b627cff3f30aded0eceedd3b1 + !! source digest: sha256:0cdb111ad7244341d95a941ae568244595e3dd96993c951fd16992da581afb0f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png @@ -82,15 +82,16 @@ A report XML record : :: - + + Print to XLSX + res.partner + xlsx + module_name.report_name + module_name.report_file + + report + + Bug Tracker =========== diff --git a/report_xlsx/__manifest__.py b/report_xlsx/__manifest__.py index 4289aa4a1..142918f1a 100644 --- a/report_xlsx/__manifest__.py +++ b/report_xlsx/__manifest__.py @@ -6,7 +6,7 @@ "author": "ACSONE SA/NV," "Creu Blanca," "Odoo Community Association (OCA)", "website": "https://github.com/OCA/reporting-engine", "category": "Reporting", - "version": "17.0.1.0.0", + "version": "17.0.1.0.1", "development_status": "Mature", "license": "AGPL-3", "external_dependencies": {"python": ["xlsxwriter", "xlrd"]}, diff --git a/report_xlsx/static/description/index.html b/report_xlsx/static/description/index.html index 374fd324e..1734af497 100644 --- a/report_xlsx/static/description/index.html +++ b/report_xlsx/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -366,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:eac09290cc88cd06dd772db4fc71b344b37f272b627cff3f30aded0eceedd3b1 +!! source digest: sha256:0cdb111ad7244341d95a941ae568244595e3dd96993c951fd16992da581afb0f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Mature License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runboat

This module provides a basic report class to generate xlsx report.

@@ -420,15 +421,16 @@ class PartnerXlsx(models.AbstractModel): xlsxwriter.

A report XML record :

-<report
-    id="partner_xlsx"
-    model="res.partner"
-    string="Print to XLSX"
-    report_type="xlsx"
-    name="module_name.report_name"
-    file="res_partner"
-    attachment_use="False"
-/>
+<record id="action_report_partner_xlsx" model="ir.actions.report">
+    <field name="name">Print to XLSX</field>
+    <field name="model">res.partner</field>
+    <field name="report_type">xlsx</field>
+    <field name="report_name">module_name.report_name</field>
+    <field name="report_file">module_name.report_file</field>
+    <field name="binding_model_id" ref="res.partner"/>
+    <field name="binding_type">report</field>
+    <field name="attachment_use" eval="False"/>
+</record>
 
@@ -467,7 +469,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.