fix: remove join for against in purchase receipt

This commit is contained in:
Gursheen Anand
2023-11-06 17:14:55 +05:30
parent 6280031722
commit 758ec720de

View File

@@ -684,7 +684,7 @@ class PurchaseReceipt(BuyingController):
# Backward compatibility: # Backward compatibility:
# and charges added via Landed Cost Voucher, # and charges added via Landed Cost Voucher,
# post valuation related charges on "Stock Received But Not Billed" # post valuation related charges on "Stock Received But Not Billed"
against_account = ", ".join([d.account for d in gl_entries if flt(d.debit) > 0]) against_accounts = [d.account for d in gl_entries if flt(d.debit) > 0]
total_valuation_amount = sum(valuation_tax.values()) total_valuation_amount = sum(valuation_tax.values())
amount_including_divisional_loss = negative_expense_to_be_booked amount_including_divisional_loss = negative_expense_to_be_booked
stock_rbnb = ( stock_rbnb = (