mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
fix: italy localization, not able to submit sales invoice
This commit is contained in:
@@ -80,7 +80,8 @@ def prepare_invoice(invoice, progressive_number):
|
|||||||
invoice.stamp_duty = stamp_duty_charge_row.tax_amount
|
invoice.stamp_duty = stamp_duty_charge_row.tax_amount
|
||||||
|
|
||||||
for item in invoice.e_invoice_items:
|
for item in invoice.e_invoice_items:
|
||||||
if item.tax_rate == 0.0 and item.tax_amount == 0.0:
|
if (item.tax_rate == 0.0 and item.tax_amount == 0.0
|
||||||
|
and item.charge_type != 'Actual' and tax_data.get("0.0")):
|
||||||
item.tax_exemption_reason = tax_data["0.0"]["tax_exemption_reason"]
|
item.tax_exemption_reason = tax_data["0.0"]["tax_exemption_reason"]
|
||||||
|
|
||||||
customer_po_data = {}
|
customer_po_data = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user