From c8314c5259c49856b5dd39cb9eab4c416ac800bc Mon Sep 17 00:00:00 2001 From: Borruso Date: Fri, 2 Sep 2022 15:10:34 +0200 Subject: [PATCH] [ADD] l10n_it_central_journal_reportlab: aggiunto modulo libro giornale stampa reportlab --- l10n_it_central_journal_reportlab/README.rst | 82 +++ l10n_it_central_journal_reportlab/__init__.py | 4 + .../__manifest__.py | 24 + .../models/__init__.py | 3 + .../models/account.py | 27 + .../readme/CONTRIBUTORS.rst | 4 + .../readme/DESCRIPTION.rst | 7 + .../security/ir.model.access.csv | 2 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 425 +++++++++++++ .../views/date_range_view.xml | 48 ++ .../wizard/__init__.py | 3 + .../wizard/print_giornale.py | 587 ++++++++++++++++++ .../wizard/print_giornale.xml | 74 +++ 14 files changed, 1290 insertions(+) create mode 100644 l10n_it_central_journal_reportlab/README.rst create mode 100644 l10n_it_central_journal_reportlab/__init__.py create mode 100644 l10n_it_central_journal_reportlab/__manifest__.py create mode 100644 l10n_it_central_journal_reportlab/models/__init__.py create mode 100644 l10n_it_central_journal_reportlab/models/account.py create mode 100644 l10n_it_central_journal_reportlab/readme/CONTRIBUTORS.rst create mode 100644 l10n_it_central_journal_reportlab/readme/DESCRIPTION.rst create mode 100644 l10n_it_central_journal_reportlab/security/ir.model.access.csv create mode 100755 l10n_it_central_journal_reportlab/static/description/icon.png create mode 100644 l10n_it_central_journal_reportlab/static/description/index.html create mode 100755 l10n_it_central_journal_reportlab/views/date_range_view.xml create mode 100644 l10n_it_central_journal_reportlab/wizard/__init__.py create mode 100644 l10n_it_central_journal_reportlab/wizard/print_giornale.py create mode 100755 l10n_it_central_journal_reportlab/wizard/print_giornale.xml diff --git a/l10n_it_central_journal_reportlab/README.rst b/l10n_it_central_journal_reportlab/README.rst new file mode 100644 index 000000000000..c9e5922d9144 --- /dev/null +++ b/l10n_it_central_journal_reportlab/README.rst @@ -0,0 +1,82 @@ +================================ +ITA - Libro giornale - Reportlab +================================ + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--italy-lightgray.png?logo=github + :target: https://github.com/OCA/l10n-italy/tree/12.0/l10n_it_central_journal_reportlab + :alt: OCA/l10n-italy +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_central_journal_reportlab + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/122/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +**Italiano** + +Modulo per la stampa del libro giornale con reportlab + +**English** + +Module for print general journal with reportlab + +**Table of contents** + +.. contents:: + :local: + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Gianmarco Conte - Dinamiche Aziendali srl + +Contributors +~~~~~~~~~~~~ + +* Gianmarco Conte +* Lara Baggio +* Glauco Prina +* Giuseppe Borruso + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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/l10n-italy `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_it_central_journal_reportlab/__init__.py b/l10n_it_central_journal_reportlab/__init__.py new file mode 100644 index 000000000000..68e14f9a5a28 --- /dev/null +++ b/l10n_it_central_journal_reportlab/__init__.py @@ -0,0 +1,4 @@ +# Copyright 2018 Gianmarco Conte (gconte@dinamicheaziendali.it) + +from . import models +from . import wizard diff --git a/l10n_it_central_journal_reportlab/__manifest__.py b/l10n_it_central_journal_reportlab/__manifest__.py new file mode 100644 index 000000000000..8816d14d4cba --- /dev/null +++ b/l10n_it_central_journal_reportlab/__manifest__.py @@ -0,0 +1,24 @@ +# Copyright 2018 Gianmarco Conte (gconte@dinamicheaziendali.it) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'ITA - Libro giornale - Reportlab', + 'version': '12.0.1.0.0', + "development_status": "Beta", + 'category': 'Localization/Italy', + 'author': 'Gianmarco Conte - Dinamiche Aziendali srl, ' + 'Odoo Community Association (OCA)', + 'website': 'https://github.com/OCA/l10n-italy/tree/12.0/' + 'l10n_it_central_journal_reportlab', + 'license': 'AGPL-3', + "depends": [ + 'account', + 'date_range' + ], + "data": [ + 'security/ir.model.access.csv', + 'wizard/print_giornale.xml', + 'views/date_range_view.xml' + ], + "installable": True, +} diff --git a/l10n_it_central_journal_reportlab/models/__init__.py b/l10n_it_central_journal_reportlab/models/__init__.py new file mode 100644 index 000000000000..63724e4c75e6 --- /dev/null +++ b/l10n_it_central_journal_reportlab/models/__init__.py @@ -0,0 +1,3 @@ +# Copyright 2018 Gianmarco Conte (gconte@dinamicheaziendali.it) + +from . import account diff --git a/l10n_it_central_journal_reportlab/models/account.py b/l10n_it_central_journal_reportlab/models/account.py new file mode 100644 index 000000000000..2e7aa5c8a4ac --- /dev/null +++ b/l10n_it_central_journal_reportlab/models/account.py @@ -0,0 +1,27 @@ +# Copyright 2018 Gianmarco Conte (gconte@dinamicheaziendali.it) + +from odoo import models, fields +import odoo.addons.decimal_precision as dp + + +class AccountJournalInherit(models.Model): + _inherit = "account.journal" + + central_journal_exclude = fields.Boolean('Exclude from General Journal') + + +class DateRangeInherit(models.Model): + _inherit = "date.range" + + date_last_print = fields.Date('Last printed date') + progressive_page_number = fields.Integer('Progressive of the page', + default=0) + progressive_line_number = fields.Integer('Progressive line', default=0) + progressive_credit = fields.Float( + 'Progressive Credit', + digits=dp.get_precision('Account'), + default=lambda *a: float()) + progressive_debit = fields.Float( + 'Progressive Debit', + digits=dp.get_precision('Account'), + default=lambda *a: float()) diff --git a/l10n_it_central_journal_reportlab/readme/CONTRIBUTORS.rst b/l10n_it_central_journal_reportlab/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000000..71dd092145b1 --- /dev/null +++ b/l10n_it_central_journal_reportlab/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Gianmarco Conte +* Lara Baggio +* Glauco Prina +* Giuseppe Borruso diff --git a/l10n_it_central_journal_reportlab/readme/DESCRIPTION.rst b/l10n_it_central_journal_reportlab/readme/DESCRIPTION.rst new file mode 100644 index 000000000000..19123dd41b2c --- /dev/null +++ b/l10n_it_central_journal_reportlab/readme/DESCRIPTION.rst @@ -0,0 +1,7 @@ +**Italiano** + +Modulo per la stampa del libro giornale con reportlab + +**English** + +Module for print general journal with reportlab diff --git a/l10n_it_central_journal_reportlab/security/ir.model.access.csv b/l10n_it_central_journal_reportlab/security/ir.model.access.csv new file mode 100644 index 000000000000..220c3dee4952 --- /dev/null +++ b/l10n_it_central_journal_reportlab/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_date_range_group_account_manager,group_account_manager model_date_range,model_date_range,account.group_account_manager,1,1,0,0 diff --git a/l10n_it_central_journal_reportlab/static/description/icon.png b/l10n_it_central_journal_reportlab/static/description/icon.png new file mode 100755 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+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/l10n_it_central_journal_reportlab/static/description/index.html b/l10n_it_central_journal_reportlab/static/description/index.html new file mode 100644 index 000000000000..ce8a98909e2e --- /dev/null +++ b/l10n_it_central_journal_reportlab/static/description/index.html @@ -0,0 +1,425 @@ + + + + + + +ITA - Libro giornale - Reportlab + + + +
+

ITA - Libro giornale - Reportlab

+ + +

Beta License: AGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runbot

+

Italiano

+

Modulo per la stampa del libro giornale con reportlab

+

English

+

Module for print general journal with reportlab

+

Table of contents

+ +
+

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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Gianmarco Conte - Dinamiche Aziendali srl
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+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.

+

This module is part of the OCA/l10n-italy project on GitHub.

+

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

+
+
+
+ + diff --git a/l10n_it_central_journal_reportlab/views/date_range_view.xml b/l10n_it_central_journal_reportlab/views/date_range_view.xml new file mode 100755 index 000000000000..dc95138ef16e --- /dev/null +++ b/l10n_it_central_journal_reportlab/views/date_range_view.xml @@ -0,0 +1,48 @@ + + + + + + view.central.journal.account.journal.form + account.journal + + + + + + + + + + date.range.form + date.range + + + + + + + + + + + + + + + + + date.range.tree.inherit + date.range + + + + + + + + + + diff --git a/l10n_it_central_journal_reportlab/wizard/__init__.py b/l10n_it_central_journal_reportlab/wizard/__init__.py new file mode 100644 index 000000000000..5a77f776d3c1 --- /dev/null +++ b/l10n_it_central_journal_reportlab/wizard/__init__.py @@ -0,0 +1,3 @@ +# Copyright 2018 Gianmarco Conte (gconte@dinamicheaziendali.it) + +from . import print_giornale diff --git a/l10n_it_central_journal_reportlab/wizard/print_giornale.py b/l10n_it_central_journal_reportlab/wizard/print_giornale.py new file mode 100644 index 000000000000..9aad5ed6aaf1 --- /dev/null +++ b/l10n_it_central_journal_reportlab/wizard/print_giornale.py @@ -0,0 +1,587 @@ +# Copyright 2018 Gianmarco Conte (gconte@dinamicheaziendali.it) + +import base64 +import io + +from odoo import models, fields, api, _ +from datetime import timedelta +from odoo.tools.misc import flatten, formatLang, format_date +from reportlab.lib import colors +from reportlab.lib.enums import TA_RIGHT +from reportlab.lib.pagesizes import A4 +from reportlab.lib.styles import ParagraphStyle +from reportlab.lib.units import cm +from reportlab.pdfgen import canvas +from reportlab.platypus import Table +from reportlab.platypus.paragraph import Paragraph + +gap = 1 * cm # gap between header/footer and page content +gap_text = 0.5 * cm # gap between text +margin_left = 0.5 * cm # layout margin left +margin_bottom = 0.5 * cm # layout margin bottom +footer_height = 2 * gap_text + 12 # layout footer height + + +class WizardGiornale(models.TransientModel): + @api.model + def _get_journal(self): + journal_obj = self.env['account.journal'] + journal_ids = journal_obj.search([ + ('central_journal_exclude', '=', False), + ]) + return journal_ids + + _name = "wizard.giornale" + _description = "Wizard journal report" + + date_move_line_from = fields.Date(required=True) + date_move_line_from_view = fields.Date('From date') + last_def_date_print = fields.Date('Last definitive date print') + date_move_line_to = fields.Date('To date', required=True) + daterange = fields.Many2one('date.range', + 'Date Range', + required=True) + company_id = fields.Many2one(related='daterange.company_id', + readonly=True, store=True) + progressive_credit = fields.Float('Progressive Credit') + progressive_debit2 = fields.Float('Progressive Debit') + print_state = fields.Selection( + [('print', 'Ready for printing'), + ('printed', 'Printed')], + 'State', + default='print', + readonly=True) + journal_ids = fields.Many2many( + 'account.journal', + 'giornale_journals_rel', + 'journal_id', + 'giornale_id', + default=_get_journal, + string='Journals', + required=True) + target_move = fields.Selection([('all', 'All'), + ('posted', 'Posted'), + ('draft', 'Draft')], + 'Target Move', default='all') + fiscal_page_base = fields.Integer('Last printed page', required=True) + start_row = fields.Integer('Start row', required=True) + year_footer = fields.Char(string='Year for Footer', + help="Value printed near number " + "of page in the footer") + report_giornale = fields.Binary(string="Report Giornale") + report_giornale_name = fields.Char( + string="Report Giornale Name", + compute="_compute_report_giornale_name", + ) + group_by_account = fields.Boolean(string="Group by account", default=False) + + @api.depends("report_giornale", "daterange") + def _compute_report_giornale_name(self): + for wizard in self: + if wizard.report_giornale and wizard.daterange: + wizard.report_giornale_name = \ + _("Account Central Journal - %s.pdf" % wizard.daterange.name) + elif wizard.report_giornale: + wizard.report_giornale_name = _("Account Central Journal.pdf") + else: + wizard.report_giornale_name = False + + @api.onchange('date_move_line_from_view') + def get_year_footer(self): + if self.date_move_line_from_view: + self.year_footer = fields.Date.to_date( + self.date_move_line_from_view).year + + @api.onchange('daterange') + def on_change_daterange(self): + if self.daterange: + date_start = fields.Date.to_date(self.daterange.date_start) + date_end = fields.Date.to_date(self.daterange.date_end) + + if self.daterange.date_last_print: + date_last_print = fields.Date.to_date( + self.daterange.date_last_print) + self.last_def_date_print = date_last_print + date_start = (date_last_print + timedelta(days=1)).__str__() + else: + self.last_def_date_print = None + self.date_move_line_from = date_start + self.date_move_line_from_view = date_start + self.date_move_line_to = date_end + if self.daterange.progressive_line_number != 0: + self.start_row = self.daterange.progressive_line_number + 1 + else: + self.start_row = self.daterange.progressive_line_number + self.progressive_debit2 = self.daterange.progressive_debit + self.progressive_credit = self.daterange.progressive_credit + + if self.last_def_date_print == self.daterange.date_end: + self.date_move_line_from_view = self.last_def_date_print + + def get_grupped_line_ids(self): + wizard = self + if wizard.target_move == 'all': + target_type = ['posted', 'draft'] + else: + target_type = [wizard.target_move] + sql = """ + SELECT + am.date, + am.name AS move_name, + aa.code AS account_code, + aa.name AS account_name, + COALESCE(am.ref, '') AS name, + SUM(aml.debit) AS debit, + SUM(aml.credit) AS credit + FROM + account_move_line aml + LEFT JOIN account_move am ON (am.id = aml.move_id) + LEFT JOIN account_account aa ON (aa.id = aml.account_id) + WHERE + aml.date >= %(date_from)s + AND aml.date <= %(date_to)s + AND am.state in %(target_type)s + AND aml.journal_id in %(journal_ids)s + GROUP BY + am.date, + am.name, + aa.code, + aa.name, + am.ref + ORDER BY + am.date, + am.name, + aa.code + """ + params = { + 'date_from': wizard.date_move_line_from, + 'date_to': wizard.date_move_line_to, + 'target_type': tuple(target_type), + 'journal_ids': tuple(self.journal_ids.ids) + } + self.env.cr.execute(sql, params) + list_grupped_line = self.env.cr.dictfetchall() + return list_grupped_line + + def get_line_ids(self): + wizard = self + if wizard.target_move == 'all': + target_type = ['posted', 'draft'] + else: + target_type = [wizard.target_move] + sql = """ + SELECT aml.id FROM account_move_line aml + LEFT JOIN account_move am ON (am.id = aml.move_id) + LEFT JOIN account_account aa ON (aa.id = aml.account_id) + WHERE + aml.date >= %(date_from)s + AND aml.date <= %(date_to)s + AND am.state in %(target_type)s + AND aml.journal_id in %(journal_ids)s + ORDER BY am.date, am.name, aa.code + """ + params = { + 'date_from': wizard.date_move_line_from, + 'date_to': wizard.date_move_line_to, + 'target_type': tuple(target_type), + 'journal_ids': tuple(self.journal_ids.ids) + } + self.env.cr.execute(sql, params) + res = self.env.cr.fetchall() + move_line_ids = flatten(res) + return move_line_ids + + def _get_move_name(self, line): + return " - ".join(filter(None, [line.move_id.ref, line.move_id.name])) + + def _get_account_name(self, line): + return " - ".join(filter(None, [line.account_id.code, line.account_id.name])) + + def get_template_header_report_giornale(self, report, height_available): + report.setFont("Helvetica-Bold", 12) + height_available -= gap + report.drawString(margin_left, height_available, self.env.user.company_id.name) + report.setFont("Helvetica", 10) + text = "" + if self.env.user.company_id.street: + text += self.env.user.company_id.street + if self.env.user.company_id.zip: + text += " " + self.env.user.company_id.zip + if self.env.user.company_id.city: + text += " - " + self.env.user.company_id.city + if self.env.user.company_id.state_id.code: + text += " - " + self.env.user.company_id.state_id.code + if self.env.user.company_id.vat: + text += " IVA: " + self.env.user.company_id.vat + height_available -= gap_text + report.drawString(margin_left, height_available, text) + return height_available + + def get_template_footer_report_giornale(self, report): + page_num = report.getPageNumber() + self.fiscal_page_base + page_text = _("Page: %s / %s" % (self.year_footer, page_num)) + report.drawString(margin_left, margin_bottom + 12, page_text) + + def get_styles_report_giornale_line(self): + style_header = ParagraphStyle("style_header") + style_header.fontSize = 10 + style_header.fontName = "Helvetica-Bold" + + style_header_number = ParagraphStyle("style_header_number") + style_header_number.alignment = TA_RIGHT + style_header_number.fontSize = 10 + style_header_number.fontName = "Helvetica-Bold" + + style_name = ParagraphStyle("style_name") + style_name.fontSize = 6.5 + style_name.fontName = "Helvetica" + + style_number = ParagraphStyle("style_number") + style_number.fontSize = 6.5 + style_number.alignment = TA_RIGHT + style_number.fontName = "Helvetica" + + style_table = [ + ("VALIGN", (0, 0), (-1, -1), "TOP"), + ("LEFTPADDING", (0, 0), (-1, -1), 1), + ("RIGHTPADDING", (0, 0), (-1, -1), 1), + ("TOPPADDING", (0, 0), (-1, -1), 1), + ("BOTTOMPADDING", (0, 0), (-1, -1), 1) + ] + style_table_line_above = [ + ("VALIGN", (0, 0), (-1, -1), "TOP"), + ("LEFTPADDING", (0, 0), (-1, -1), 1), + ("RIGHTPADDING", (0, 0), (-1, -1), 1), + ("TOPPADDING", (0, 0), (-1, -1), 1), + ("BOTTOMPADDING", (0, 0), (-1, -1), 1), + ("LINEABOVE", (0, 0), (-1, -1), 1, colors.black) + ] + return { + "style_header": style_header, + "style_header_number": style_header_number, + "style_name": style_name, + "style_number": style_number, + "style_table": style_table, + "style_table_line_above": style_table_line_above + } + + def get_colwidths_report_giornale(self, width_available): + colwidths = [32, 35, 130, 130, 130, 50, 50] + total = sum(colwidths) + return [c/total * width_available for c in colwidths] + + def get_data_header_report_giornale(self): + style_header = self.get_styles_report_giornale_line()["style_header"] + style_header_number = \ + self.get_styles_report_giornale_line()["style_header_number"] + + data_header = [[ + Paragraph(_("Row"), style_header), + Paragraph(_("Date"), style_header), + Paragraph(_("Account Move"), style_header), + Paragraph(_("Account"), style_header), + Paragraph(_("Name"), style_header), + Paragraph(_("Debit"), style_header_number), + Paragraph(_("Credit"), style_header_number), + ]] + return data_header + + def get_initial_balance_data_report_giornale(self): + style_name = self.get_styles_report_giornale_line()["style_name"] + style_number = self.get_styles_report_giornale_line()["style_number"] + + initial_balance_data = [[ + "", "", "", "", + Paragraph(_("Initial Balance"), style_name), + Paragraph( + formatLang(self.env, self.progressive_debit2), style_number + ), + Paragraph( + formatLang(self.env, self.progressive_credit), style_number + ), + ]] + return initial_balance_data + + def get_grupped_final_tables_report_giornale( + self, list_grupped_line, tables, start_row, width_available + ): + style_name = self.get_styles_report_giornale_line()["style_name"] + style_number = self.get_styles_report_giornale_line()["style_number"] + style_table = self.get_styles_report_giornale_line()["style_table"] + style_table_line_above = \ + self.get_styles_report_giornale_line()["style_table_line_above"] + colwidths = self.get_colwidths_report_giornale(width_available) + + previous_move_name = "" + list_balance = [ + (0, 0), + (self.progressive_debit2, self.progressive_credit), + ] + + for line in list_grupped_line: + start_row += 1 + row = Paragraph(str(start_row), style_name) + date = Paragraph(format_date(self.env, line["date"]), style_name) + move = Paragraph(line["move_name"], style_name) + account_name = \ + line["account_code"] + " - " + line["account_name"] \ + if line["account_code"] else line["account_name"] + account = Paragraph(account_name, style_name) + name = Paragraph(line["name"], style_name) + # dato che nel SQL ho la somma dei crediti e debiti potrei avere + # che un conto ha sia debito che credito + lines_data = [] + if line["debit"] > 0: + debit = Paragraph( + formatLang(self.env, line["debit"]), style_number + ) + credit = Paragraph(formatLang(self.env, 0), style_number) + list_balance.append((line["debit"], 0)) + lines_data.append( + [[row, date, move, account, name, debit, credit]] + ) + if line["credit"] > 0: + debit = Paragraph(formatLang(self.env, 0), style_number) + credit = Paragraph( + formatLang(self.env, line["credit"]), style_number + ) + list_balance.append((0, line["credit"])) + lines_data.append( + [[row, date, move, account, name, debit, credit]] + ) + for line_data in lines_data: + if previous_move_name != line["move_name"]: + previous_move_name = line["move_name"] + tables.append( + Table( + line_data, + colWidths=colwidths, + style=style_table_line_above + ) + ) + else: + tables.append( + Table(line_data, colWidths=colwidths, style=style_table) + ) + return tables, list_balance + + def get_final_tables_report_giornale( + self, move_line_ids, tables, start_row, width_available + ): + style_name = self.get_styles_report_giornale_line()["style_name"] + style_number = self.get_styles_report_giornale_line()["style_number"] + style_table = self.get_styles_report_giornale_line()["style_table"] + style_table_line_above = \ + self.get_styles_report_giornale_line()["style_table_line_above"] + colwidths = self.get_colwidths_report_giornale(width_available) + + previous_move_name = "" + list_balance = [ + (0, 0), + (self.progressive_debit2, self.progressive_credit), + ] + + for line in self.env["account.move.line"].browse(move_line_ids): + start_row += 1 + row = Paragraph(str(start_row), style_name) + date = Paragraph(format_date(self.env, line.date), style_name) + move_name = self._get_move_name(line) + move = Paragraph(move_name, style_name) + account_name = self._get_account_name(line) + account = Paragraph(account_name, style_name) + if line.account_id.user_type_id.type in ["receivable", "payable"]: + name = Paragraph(str(line.partner_id.name or ""), style_name) + else: + name = Paragraph(str(line.name or ""), style_name) + debit = Paragraph(formatLang(self.env, line.debit), style_number) + credit = Paragraph(formatLang(self.env, line.credit), style_number) + list_balance.append((line.debit, line.credit)) + line_data = [[row, date, move, account, name, debit, credit]] + if previous_move_name != move_name: + previous_move_name = move_name + tables.append( + Table(line_data, colWidths=colwidths, style=style_table_line_above) + ) + else: + tables.append(Table(line_data, colWidths=colwidths, style=style_table)) + return tables, list_balance + + def get_balance_data_report_giornale(self, tot_debit, tot_credit, final=False): + style_name = self.get_styles_report_giornale_line()["style_name"] + style_number = self.get_styles_report_giornale_line()["style_number"] + + if final: + name = Paragraph(_("Final Balance"), style_name) + else: + name = Paragraph(_("Balance"), style_name) + + balance_data = [[ + "", "", "", "", + name, + Paragraph(formatLang(self.env, tot_debit), style_number), + Paragraph(formatLang(self.env, tot_credit), style_number), + ]] + return balance_data + + def create_report_giornale(self): + pdf_bytes = io.BytesIO() + + WIDTH, HEIGHT = A4 + width_available = WIDTH - (2 * margin_left) + height_available = HEIGHT + report = canvas.Canvas(pdf_bytes, pagesize=A4) + height_available = \ + self.get_template_header_report_giornale(report, height_available) + + style_table = self.get_styles_report_giornale_line()["style_table"] + style_table_line_above = \ + self.get_styles_report_giornale_line()["style_table_line_above"] + + colwidths = self.get_colwidths_report_giornale(width_available) + data_header = self.get_data_header_report_giornale() + tables = [Table(data_header, colWidths=colwidths, style=style_table)] + initial_balance_data = self.get_initial_balance_data_report_giornale() + tables.append( + Table(initial_balance_data, colWidths=colwidths, style=style_table) + ) + start_row = self.start_row + if self.group_by_account: + list_grupped_line = self.get_grupped_line_ids() + final_tables, list_balance = \ + self.get_grupped_final_tables_report_giornale( + list_grupped_line, tables, start_row, width_available + ) + else: + move_line_ids = self.get_line_ids() + final_tables, list_balance = self.get_final_tables_report_giornale( + move_line_ids, tables, start_row, width_available + ) + + height_available -= gap + i = 0 + tot_debit = 0 + tot_credit = 0 + for table in final_tables: + table_width, table_height = table.wrapOn(report, width_available, HEIGHT) + if height_available - footer_height < table_height: + balance_data = self.get_balance_data_report_giornale( + tot_debit, tot_credit, final=False + ) + table_balance = Table( + balance_data, colWidths=colwidths, style=style_table_line_above + ) + table_balance_width, table_balance_height = \ + table_balance.wrapOn(report, WIDTH, HEIGHT) + height_available -= table_balance_height + table_balance.drawOn(report, margin_left, height_available) + self.get_template_footer_report_giornale(report) + + report.showPage() + height_available = \ + self.get_template_header_report_giornale(report, HEIGHT) + height_available -= gap + header_table = Table( + data_header, colWidths=colwidths, style=style_table + ) + header_table_width, header_table_height = \ + header_table.wrapOn(report, WIDTH, HEIGHT) + height_available -= header_table_height + header_table.drawOn(report, margin_left, height_available) + table_balance = Table( + balance_data, colWidths=colwidths, style=style_table + ) + table_balance.wrapOn(report, WIDTH, HEIGHT) + height_available -= header_table_height + table_balance_height + table_balance.drawOn(report, margin_left, height_available) + + tot_debit += list_balance[i][0] + tot_credit += list_balance[i][1] + height_available -= table_height + table.drawOn(report, margin_left, height_available) + i += 1 + + final_balance_data = self.get_balance_data_report_giornale( + tot_debit, tot_credit, final=True + ) + final_balance_table = Table( + final_balance_data, colWidths=colwidths, style=style_table_line_above + ) + final_balance_table_width, final_balance_table_height = \ + final_balance_table.wrapOn(report, WIDTH, HEIGHT) + if height_available - footer_height >= final_balance_table_height: + height_available -= final_balance_table_height + final_balance_table.drawOn(report, margin_left, height_available) + else: + self.get_template_footer_report_giornale(report) + + report.showPage() + height_available = \ + self.get_template_header_report_giornale(report, HEIGHT) + height_available -= gap + header_table = Table( + data_header, colWidths=colwidths, style=style_table + ) + header_table_width, header_table_height = \ + header_table.wrapOn(report, WIDTH, HEIGHT) + height_available -= header_table_height + header_table.drawOn(report, margin_left, height_available) + height_available -= header_table_height + final_balance_table_height + final_balance_table.drawOn(report, margin_left, height_available) + self.get_template_footer_report_giornale(report) + report.showPage() + report.save() + + file_base64 = base64.b64encode(pdf_bytes.getvalue()) + self.write({"report_giornale": file_base64}) + + return start_row, tot_debit, tot_credit + + def print_giornale(self): + self.create_report_giornale() + + model_data_obj = self.env["ir.model.data"] + view_rec = model_data_obj.get_object_reference( + "l10n_it_central_journal", "wizard_giornale" + ) + view_id = view_rec and view_rec[1] or False + + return { + "view_type": "form", + "view_id": [view_id], + "view_mode": "form", + "res_model": "wizard.giornale", + "res_id": self.id, + "type": "ir.actions.act_window", + "target": "new", + } + + def print_giornale_final(self): + end_row, end_debit, end_credit = self.create_report_giornale() + + if not self.company_id.period_lock_date \ + or self.company_id.period_lock_date < self.date_move_line_to: + self.company_id.sudo().period_lock_date = self.date_move_line_to + + daterange_vals = { + "date_last_print": self.date_move_line_to, + "progressive_line_number": end_row, + "progressive_debit": end_debit, + "progressive_credit": end_credit, + } + self.daterange.write(daterange_vals) + + model_data_obj = self.env["ir.model.data"] + view_rec = model_data_obj.get_object_reference( + "l10n_it_central_journal", "wizard_giornale" + ) + view_id = view_rec and view_rec[1] or False + + return { + "view_type": "form", + "view_id": [view_id], + "view_mode": "form", + "res_model": "wizard.giornale", + "res_id": self.id, + "type": "ir.actions.act_window", + "target": "new", + } diff --git a/l10n_it_central_journal_reportlab/wizard/print_giornale.xml b/l10n_it_central_journal_reportlab/wizard/print_giornale.xml new file mode 100755 index 000000000000..fced04d85938 --- /dev/null +++ b/l10n_it_central_journal_reportlab/wizard/print_giornale.xml @@ -0,0 +1,74 @@ + + + + + + General Journal + wizard.giornale + form + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+ + + General Journal + ir.actions.act_window + wizard.giornale + form + form + new + + + + +
+