Tower: upload at_accounting 18.0.1.7 (via marketplace)
This commit is contained in:
11
addons/at_accounting/models/balance_sheet.py
Normal file
11
addons/at_accounting/models/balance_sheet.py
Normal 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'] = {}
|
||||
Reference in New Issue
Block a user