Skip to content

Commit

Permalink
fix(india): cannot generate e-invoice for is_pos invoices
Browse files Browse the repository at this point in the history
* If mode of payment > 18 characters, the e-invoice portal throws error
  • Loading branch information
nextchamp-saqib committed Apr 4, 2022
1 parent bfc34e1 commit 0c26f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/regional/india/e_invoice/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def update_other_charges(

def get_payment_details(invoice):
payee_name = invoice.company
mode_of_payment = ", ".join([d.mode_of_payment for d in invoice.payments])
mode_of_payment = ""
paid_amount = invoice.base_paid_amount
outstanding_amount = invoice.outstanding_amount

Expand Down

0 comments on commit 0c26f9a

Please sign in to comment.