Tower: upload at_accounting 18.0.1.7 (via marketplace)

This commit is contained in:
2026-04-28 07:34:52 +00:00
parent 46fca55d81
commit 05c33d06c3

View File

@@ -0,0 +1,11 @@
from odoo import models
class BalanceSheetCustomHandler(models.AbstractModel):
_name = 'account.balance.sheet.report.handler'
_inherit = 'account.report.custom.handler'
_description = "Balance Sheet Custom Handler"
def _customize_warnings(self, report, options, all_column_groups_expression_totals, warnings):
if options['currency_table']['type'] == 'cta':
warnings['at_accounting.common_possibly_unbalanced_because_cta'] = {}