Automatic Update form OCA2FC Migrator

This commit is contained in:
Flectra Community Bot 2021-12-19 03:13:59 +00:00 committed by OCA2FC Migrator Bot
parent 97480a7c15
commit 89c5accf5c
4 changed files with 4 additions and 5 deletions

View File

@ -17,7 +17,7 @@ addon | version | summary
[report_wkhtmltopdf_param](report_wkhtmltopdf_param/) | 2.0.1.0.0| Add new parameters for a paper format to be used by wkhtmltopdf command as arguments.
[report_qweb_pdf_watermark](report_qweb_pdf_watermark/) | 2.0.1.0.0| Add watermarks to your QWEB PDF reports
[report_xlsx_helper](report_xlsx_helper/) | 2.0.1.0.1| Report xlsx helpers
[report_xlsx](report_xlsx/) | 2.0.1.0.4| Base module to create xlsx report
[report_xlsx](report_xlsx/) | 2.0.1.0.5| Base module to create xlsx report
[bi_view_editor](bi_view_editor/) | 2.0.1.0.0| Graphical BI views builder for Odoo
[report_qweb_encrypt](report_qweb_encrypt/) | 2.0.1.0.0| Allow to encrypt qweb pdfs
[report_qweb_parameter](report_qweb_parameter/) | 2.0.1.0.0| Add new parameters for qweb templates in order to reduce field length and check minimal length

View File

@ -6,7 +6,7 @@
"author": "ACSONE SA/NV," "Creu Blanca," "Odoo Community Association (OCA)",
"website": "https://gitlab.com/flectra-community/reporting-engine",
"category": "Reporting",
"version": "2.0.1.0.4",
"version": "2.0.1.0.5",
"development_status": "Production/Stable",
"license": "AGPL-3",
"external_dependencies": {"python": ["xlsxwriter", "xlrd"]},

View File

@ -11,8 +11,6 @@ class PartnerXlsx(models.AbstractModel):
def generate_xlsx_report(self, workbook, data, partners):
sheet = workbook.add_worksheet("Report")
i = 0
for obj in partners:
for i, obj in enumerate(partners):
bold = workbook.add_format({"bold": True})
sheet.write(i, 0, obj.name, bold)
i += 1

View File

@ -39,6 +39,7 @@ flectra.define("report_xlsx.report", function (require) {
url: new_url,
data: {
data: JSON.stringify([new_url, type]),
context: JSON.stringify(cloned_action.context),
},
success: resolve,
error: (error) => {