mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 19:35:09 +00:00
fix: supply type for sez invoices with payment of tax
(cherry picked from commit c8aa77285e)
This commit is contained in:
@@ -128,7 +128,10 @@ def get_transaction_details(invoice):
|
|||||||
if invoice.gst_category == "Registered Regular":
|
if invoice.gst_category == "Registered Regular":
|
||||||
supply_type = "B2B"
|
supply_type = "B2B"
|
||||||
elif invoice.gst_category == "SEZ":
|
elif invoice.gst_category == "SEZ":
|
||||||
supply_type = "SEZWOP"
|
if invoice.export_type == "Without Payment of Tax":
|
||||||
|
supply_type = "SEZWOP"
|
||||||
|
else:
|
||||||
|
supply_type = "SEZWP"
|
||||||
elif invoice.gst_category == "Overseas":
|
elif invoice.gst_category == "Overseas":
|
||||||
if invoice.export_type == "Without Payment of Tax":
|
if invoice.export_type == "Without Payment of Tax":
|
||||||
supply_type = "EXPWOP"
|
supply_type = "EXPWOP"
|
||||||
|
|||||||
Reference in New Issue
Block a user