From 7899fff564e52ab4dc00d468b4ca866c82d2d26e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Tue, 22 Jul 2025 13:25:23 +0200 Subject: [PATCH] [IMP] partner_statement: pre-commit auto fixes --- .../detailed_activity_statement_xlsx.py | 42 +++++++++---------- .../views/activity_statement.xml | 7 ++-- .../views/detailed_activity_statement.xml | 4 +- .../views/outstanding_statement.xml | 6 +-- partner_statement/wizard/statement_wizard.xml | 28 ++++++------- 5 files changed, 44 insertions(+), 43 deletions(-) diff --git a/partner_statement/report/detailed_activity_statement_xlsx.py b/partner_statement/report/detailed_activity_statement_xlsx.py index b342415c..8bb95dde 100644 --- a/partner_statement/report/detailed_activity_statement_xlsx.py +++ b/partner_statement/report/detailed_activity_statement_xlsx.py @@ -702,28 +702,28 @@ class DetailedActivityStatementXslx(models.AbstractModel): FORMATS[ "format_tcell_left_reconciled_outside-date-rank" ].set_font_color(fc_red) - FORMATS[ - "format_tcell_date_left_reconciled_outside-date-rank" - ] = copy_format(workbook, FORMATS["format_tcell_date_left_reconciled"]) + FORMATS["format_tcell_date_left_reconciled_outside-date-rank"] = ( + copy_format(workbook, FORMATS["format_tcell_date_left_reconciled"]) + ) FORMATS[ "format_tcell_date_left_reconciled_outside-date-rank" ].set_font_color(fc_red) - FORMATS[ - "format_distributed_reconciled_outside-date-rank" - ] = copy_format(workbook, FORMATS["format_distributed_reconciled"]) + FORMATS["format_distributed_reconciled_outside-date-rank"] = ( + copy_format(workbook, FORMATS["format_distributed_reconciled"]) + ) FORMATS[ "format_distributed_reconciled_outside-date-rank" ].set_font_color(fc_red) - FORMATS[ - "current_money_format_reconciled_outside-date-rank" - ] = copy_format(workbook, FORMATS["current_money_format_reconciled"]) + FORMATS["current_money_format_reconciled_outside-date-rank"] = ( + copy_format(workbook, FORMATS["current_money_format_reconciled"]) + ) FORMATS[ "current_money_format_reconciled_outside-date-rank" ].set_font_color(fc_red) - FORMATS[ - "format_tcell_left_blocked_reconciled_outside-date-rank" - ] = copy_format( - workbook, FORMATS["format_tcell_left_blocked_reconciled"] + FORMATS["format_tcell_left_blocked_reconciled_outside-date-rank"] = ( + copy_format( + workbook, FORMATS["format_tcell_left_blocked_reconciled"] + ) ) FORMATS[ "format_tcell_left_blocked_reconciled_outside-date-rank" @@ -736,18 +736,18 @@ class DetailedActivityStatementXslx(models.AbstractModel): FORMATS[ "format_tcell_date_left_blocked_reconciled_outside-date-rank" ].set_font_color(fc_red) - FORMATS[ - "format_distributed_blocked_reconciled_outside-date-rank" - ] = copy_format( - workbook, FORMATS["format_distributed_blocked_reconciled"] + FORMATS["format_distributed_blocked_reconciled_outside-date-rank"] = ( + copy_format( + workbook, FORMATS["format_distributed_blocked_reconciled"] + ) ) FORMATS[ "format_distributed_blocked_reconciled_outside-date-rank" ].set_font_color(fc_red) - FORMATS[ - "current_money_format_blocked_reconciled_outside-date-rank" - ] = copy_format( - workbook, FORMATS["current_money_format_blocked_reconciled"] + FORMATS["current_money_format_blocked_reconciled_outside-date-rank"] = ( + copy_format( + workbook, FORMATS["current_money_format_blocked_reconciled"] + ) ) FORMATS[ "current_money_format_blocked_reconciled_outside-date-rank" diff --git a/partner_statement/views/activity_statement.xml b/partner_statement/views/activity_statement.xml index 98af7510..b87ce5e2 100644 --- a/partner_statement/views/activity_statement.xml +++ b/partner_statement/views/activity_statement.xml @@ -43,7 +43,8 @@ + /> + @@ -117,8 +118,8 @@ t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' />
:
+ t-out="company.country_id.vat_label or 'Tax ID'" + />:

Statement of Account

diff --git a/partner_statement/views/detailed_activity_statement.xml b/partner_statement/views/detailed_activity_statement.xml index 76c4cf3b..3c37f532 100644 --- a/partner_statement/views/detailed_activity_statement.xml +++ b/partner_statement/views/detailed_activity_statement.xml @@ -11,8 +11,8 @@ t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' />
:
+ t-out="company.country_id.vat_label or 'Tax ID'" + />:

Statement of Account

diff --git a/partner_statement/views/outstanding_statement.xml b/partner_statement/views/outstanding_statement.xml index 35ab56b4..07671f90 100644 --- a/partner_statement/views/outstanding_statement.xml +++ b/partner_statement/views/outstanding_statement.xml @@ -102,11 +102,11 @@ t-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": True}' />
:
+ t-out="company.country_id.vat_label or 'Tax ID'" + />:
-
+

Statement of Account

diff --git a/partner_statement/wizard/statement_wizard.xml b/partner_statement/wizard/statement_wizard.xml index 2e3f3aa3..191e2568 100644 --- a/partner_statement/wizard/statement_wizard.xml +++ b/partner_statement/wizard/statement_wizard.xml @@ -89,20 +89,20 @@