Browse Source

[UPDT] Tax report issue fixed

pull/165/head
Ajmal Cybro 4 years ago
parent
commit
8b56d3b347
  1. 2
      base_accounting_kit/__manifest__.py
  2. 5
      base_accounting_kit/doc/changelog.md
  3. 4
      base_accounting_kit/report/report_tax.py

2
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,

5
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

4
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)

Loading…
Cancel
Save