diff options
| author | Jigar Vaghela <jva@odoo.com> | 2019-12-27 10:11:20 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-01-06 08:26:28 +0000 |
| commit | 4ac4a924d64eba96bce6efc6a39e3680aed842e0 (patch) | |
| tree | 4ac38bb960a15ab053ef02009edf3f45434dc47b /addons | |
| parent | 5f4fa5685626b257db1822fc8cc2ba51ccb72df9 (diff) | |
[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) <nim@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/l10n_in/report/hsn_gst_report.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
