diff --git a/report_xlsx_helper/README.rst b/report_xlsx_helper/README.rst index fe1b9748c..3e1dd31b0 100644 --- a/report_xlsx_helper/README.rst +++ b/report_xlsx_helper/README.rst @@ -14,13 +14,13 @@ Report xlsx helpers :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freporting--engine-lightgray.png?logo=github - :target: https://github.com/OCA/reporting-engine/tree/12.0/report_xlsx_helper + :target: https://github.com/OCA/reporting-engine/tree/13.0-mig-report_xlsx_helper/report_xlsx_helper :alt: OCA/reporting-engine .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_xlsx_helper + :target: https://translation.odoo-community.org/projects/reporting-engine-13-0-mig-report_xlsx_helper/reporting-engine-13-0-mig-report_xlsx_helper-report_xlsx_helper :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/143/12.0 + :target: https://runbot.odoo-community.org/runbot/143/13.0-mig-report_xlsx_helper :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -35,7 +35,7 @@ This module provides a set of tools to facilitate the creation of excel reports Installation ============ -This module requires report_xlsx version 11.0.1.0.3 or higher. +This module requires report_xlsx version 13.0.1.0.0 or higher. Usage ===== @@ -79,7 +79,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -95,6 +95,7 @@ Contributors ~~~~~~~~~~~~ * Luc De Meyer +* Rattapong Chokmasermkul Maintainers ~~~~~~~~~~~ @@ -109,6 +110,6 @@ 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. -This module is part of the `OCA/reporting-engine `_ project on GitHub. +This module is part of the `OCA/reporting-engine `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/report_xlsx_helper/__manifest__.py b/report_xlsx_helper/__manifest__.py index cbb828bc8..dc62b4542 100644 --- a/report_xlsx_helper/__manifest__.py +++ b/report_xlsx_helper/__manifest__.py @@ -3,10 +3,10 @@ { "name": "Report xlsx helpers", - "author": "Noviat," "Odoo Community Association (OCA)", + "author": "Noviat, Odoo Community Association (OCA)", "website": "https://github.com/OCA/reporting-engine", "category": "Reporting", - "version": "12.0.1.1.1", + "version": "13.0.1.0.0", "license": "AGPL-3", "depends": ["report_xlsx"], "installable": True, diff --git a/report_xlsx_helper/readme/CONTRIBUTORS.rst b/report_xlsx_helper/readme/CONTRIBUTORS.rst index 044d1a001..56577cc51 100644 --- a/report_xlsx_helper/readme/CONTRIBUTORS.rst +++ b/report_xlsx_helper/readme/CONTRIBUTORS.rst @@ -1 +1,2 @@ * Luc De Meyer +* Rattapong Chokmasermkul diff --git a/report_xlsx_helper/readme/INSTALL.rst b/report_xlsx_helper/readme/INSTALL.rst index 4bcd55325..d84dece07 100644 --- a/report_xlsx_helper/readme/INSTALL.rst +++ b/report_xlsx_helper/readme/INSTALL.rst @@ -1 +1 @@ -This module requires report_xlsx version 11.0.1.0.3 or higher. +This module requires report_xlsx version 13.0.1.0.0 or higher. diff --git a/report_xlsx_helper/report/test_partner_report_xlsx.py b/report_xlsx_helper/report/test_partner_report_xlsx.py index ad091c8c8..f175608d5 100644 --- a/report_xlsx_helper/report/test_partner_report_xlsx.py +++ b/report_xlsx_helper/report/test_partner_report_xlsx.py @@ -11,6 +11,7 @@ from odoo import models class TestPartnerXlsx(models.AbstractModel): _name = "report.report_xlsx_helper.test_partner_xlsx" _inherit = "report.report_xlsx.abstract" + _description = "Test Partner XLSX Report" def _get_ws_params(self, wb, data, partners): @@ -25,16 +26,6 @@ class TestPartnerXlsx(models.AbstractModel): "data": {"value": self._render("len(partner.child_ids)")}, "width": 10, }, - "is_customer": { - "header": {"value": "Customer"}, - "data": {"value": self._render("partner.customer")}, - "width": 10, - }, - "is_customer_formula": { - "header": {"value": "Customer Y/N ?"}, - "data": {"type": "formula", "value": self._render("customer_formula")}, - "width": 14, - }, "date": { "header": {"value": "Date"}, "data": {"value": self._render("partner.date")}, @@ -72,17 +63,12 @@ class TestPartnerXlsx(models.AbstractModel): ) ws.freeze_panes(row_pos, 0) - wl = ws_params["wanted_list"] - for partner in partners: - is_customer_pos = "is_customer" in wl and wl.index("is_customer") - is_customer_cell = self._rowcol_to_cell(row_pos, is_customer_pos) - customer_formula = 'IF({},"Y", "N")'.format(is_customer_cell) row_pos = self._write_line( ws, row_pos, ws_params, col_specs_section="data", - render_space={"partner": partner, "customer_formula": customer_formula}, + render_space={"partner": partner}, default_format=self.format_tcell_left, ) diff --git a/report_xlsx_helper/static/description/index.html b/report_xlsx_helper/static/description/index.html index 97e54d3a3..adf87d3a8 100644 --- a/report_xlsx_helper/static/description/index.html +++ b/report_xlsx_helper/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/reporting-engine Translate me on Weblate Try me on Runbot

This module provides a set of tools to facilitate the creation of excel reports with format xlsx.

Table of contents

@@ -385,7 +385,7 @@ ul.auto-toc {

Installation

-

This module requires report_xlsx version 11.0.1.0.3 or higher.

+

This module requires report_xlsx version 13.0.1.0.0 or higher.

Usage

@@ -424,7 +424,7 @@ from http://apps.odoo.

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -439,6 +439,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

Contributors

@@ -448,7 +449,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome

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.

-

This module is part of the OCA/reporting-engine project on GitHub.

+

This module is part of the OCA/reporting-engine project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.