fix(ewb): remove checksum validation for TRANSIN
(cherry picked from commit ca46bedfcb874ac5e03d44a00b996d31db336d85)
This commit is contained in:
parent
bfa93ea76f
commit
d9f7b4df8f
@ -615,8 +615,9 @@ def get_transport_details(data, doc):
|
||||
data.transDocDate = frappe.utils.formatdate(doc.lr_date, 'dd/mm/yyyy')
|
||||
|
||||
if doc.gst_transporter_id:
|
||||
validate_gstin_check_digit(doc.gst_transporter_id, label='GST Transporter ID')
|
||||
data.transporterId = doc.gst_transporter_id
|
||||
if doc.gst_transporter_id[0:2] != "88":
|
||||
validate_gstin_check_digit(doc.gst_transporter_id, label='GST Transporter ID')
|
||||
data.transporterId = doc.gst_transporter_id
|
||||
|
||||
return data
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user