Merge pull request #22058 from frappe/mergify/bp/version-13-beta-pre-release/pr-22057

fix(ewb): remove checksum validation for TRANSIN (bp #22057)
This commit is contained in:
Deepesh Garg 2020-05-30 20:22:27 +05:30 committed by GitHub
commit e602140ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -615,6 +615,7 @@ def get_transport_details(data, doc):
data.transDocDate = frappe.utils.formatdate(doc.lr_date, 'dd/mm/yyyy') data.transDocDate = frappe.utils.formatdate(doc.lr_date, 'dd/mm/yyyy')
if doc.gst_transporter_id: if doc.gst_transporter_id:
if doc.gst_transporter_id[0:2] != "88":
validate_gstin_check_digit(doc.gst_transporter_id, label='GST Transporter ID') validate_gstin_check_digit(doc.gst_transporter_id, label='GST Transporter ID')
data.transporterId = doc.gst_transporter_id data.transporterId = doc.gst_transporter_id