fix(india): cannot generate e-invoice for is_pos invoices
* If mode of payment > 18 characters, the e-invoice portal throws error
This commit is contained in:
parent
bfc34e1084
commit
0c26f9a8c8
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user