diff --git a/base_accounting_kit/__manifest__.py b/base_accounting_kit/__manifest__.py index 257f23eb4..ade67dc8b 100644 --- a/base_accounting_kit/__manifest__.py +++ b/base_accounting_kit/__manifest__.py @@ -22,7 +22,7 @@ { 'name': 'Odoo 13 Full Accounting Kit', - 'version': '13.0.4.9.13', + 'version': '13.0.4.9.14', 'category': 'Accounting', 'live_test_url': 'https://www.youtube.com/watch?v=peAp2Tx_XIs', 'summary': """ Asset and Budget Management, diff --git a/base_accounting_kit/doc/changelog.md b/base_accounting_kit/doc/changelog.md index ceb6e39cb..00b377979 100644 --- a/base_accounting_kit/doc/changelog.md +++ b/base_accounting_kit/doc/changelog.md @@ -103,3 +103,8 @@ #### Version 13.0.4.9.13 #### UPDT - Actions added in dashboard + +#### 26.02.2021 +#### Version 13.0.4.9.14 +#### FIX +- Tax Report issue fixed diff --git a/base_accounting_kit/report/report_tax.py b/base_accounting_kit/report/report_tax.py index 329096c93..61445ef6a 100644 --- a/base_accounting_kit/report/report_tax.py +++ b/base_accounting_kit/report/report_tax.py @@ -89,11 +89,11 @@ class ReportTax(models.AbstractModel): else: taxes[tax.id] = {'tax': 0, 'net': 0, 'name': tax.name, 'type': tax.type_tax_use} - if options['date_from']: + if options['date_from'] and not options['date_to']: self.with_context(date_from=options['date_from'], strict_range=True)._compute_from_amls(options, taxes) - elif options['date_to']: + elif options['date_to'] and not options['date_from']: self.with_context(date_to=options['date_to'], strict_range=True)._compute_from_amls(options, taxes)