From 4ac4a924d64eba96bce6efc6a39e3680aed842e0 Mon Sep 17 00:00:00 2001 From: Jigar Vaghela Date: Fri, 27 Dec 2019 10:11:20 +0000 Subject: [PATCH] [FIX] l10n_in: Update HSN query The credit notes must be included in GSTR-1 report. opw-2161465 closes odoo/odoo#42733 X-original-commit: 8b956b60e55ef24c552925cae0f0ae8fadd07c5d Signed-off-by: Nicolas Martinelli (nim) --- addons/l10n_in/report/hsn_gst_report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_in/report/hsn_gst_report.py b/addons/l10n_in/report/hsn_gst_report.py index e98a4a51364..6bf43767be6 100644 --- a/addons/l10n_in/report/hsn_gst_report.py +++ b/addons/l10n_in/report/hsn_gst_report.py @@ -93,7 +93,7 @@ class L10nInProductHsnReport(models.Model): LEFT JOIN account_tax_report_line_tags_rel tag_rep_ln ON aat.id = tag_rep_ln.account_account_tag_id LEFT JOIN account_move_line_account_tax_rel mt ON mt.account_move_line_id = aml.id LEFT JOIN uom_uom uom ON uom.id = aml.product_uom_id - WHERE aa.internal_type = 'other' AND (aml.tax_line_id IS NOT NULL OR mt.account_tax_id IS NULL) AND (am.type IS NULL OR am.type in ('in_invoice', 'out_invoice')) + WHERE aa.internal_type = 'other' AND (aml.tax_line_id IS NOT NULL OR mt.account_tax_id IS NULL) """ return from_str