From f88097543889fcf016e000cf064b1094ca237618 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 22 May 2019 22:30:26 +0530 Subject: [PATCH] fix: not able to submit sales invoice for italy --- erpnext/regional/italy/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/regional/italy/utils.py b/erpnext/regional/italy/utils.py index 8818935e39e..730a80b547b 100644 --- a/erpnext/regional/italy/utils.py +++ b/erpnext/regional/italy/utils.py @@ -80,8 +80,7 @@ def prepare_invoice(invoice, progressive_number): invoice.stamp_duty = stamp_duty_charge_row.tax_amount for item in invoice.e_invoice_items: - if (item.tax_rate == 0.0 and item.tax_amount == 0.0 - and item.charge_type != 'Actual' and tax_data.get("0.0")): + if item.tax_rate == 0.0 and item.tax_amount == 0.0 and tax_data.get("0.0"): item.tax_exemption_reason = tax_data["0.0"]["tax_exemption_reason"] customer_po_data = {}