From 18842ee53f730f06f85f5c22fa9f3606afa09f03 Mon Sep 17 00:00:00 2001 From: oco-odoo Date: Tue, 7 Sep 2021 14:12:17 +0000 Subject: [PATCH] [IMP] account: carryover: better tooltip closes odoo/odoo#76530 X-original-commit: d3728f89250a5e71723a48c55b4213650aa261f8 Related: odoo/enterprise#20874 Signed-off-by: Laurent Smet --- addons/account/models/account_tax_report.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/addons/account/models/account_tax_report.py b/addons/account/models/account_tax_report.py index f454ba7d839..5e5b6318cbd 100644 --- a/addons/account/models/account_tax_report.py +++ b/addons/account/models/account_tax_report.py @@ -140,8 +140,13 @@ class AccountTaxReportLine(models.Model): ) is_carryover_persistent = fields.Boolean( string="Persistent", - help="If set, each new carryover amount is added to the previous ones. And the amounts are carried over from period to period.\n" - "If not set, each new carryover amount overrides the former one.", + help="Defines how this report line creates carry over lines when performing tax closing." + "If true, the amounts carried over will always be added on top of each other: " + "for example, a report line with a balance of 10 with an existing carryover of 50 " + "will add an additional 10 to it when doing the closing, making a total carryover of 60. " + "If false, the total carried over amount will be forced to the total of this report line: " + "a report line with a balance of 10 with an existing carryover of 50 will create a new " + "carryover line of -40, so that the total carryover becomes 10.", default=True, ) is_carryover_used_in_balance = fields.Boolean(