mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
Fix Against Voucher in GL Entry for return against purchase invoice
This commit is contained in:
@@ -255,7 +255,7 @@ class PurchaseInvoice(BuyingController):
|
|||||||
"against": self.against_expense_account,
|
"against": self.against_expense_account,
|
||||||
"credit": self.total_amount_to_pay,
|
"credit": self.total_amount_to_pay,
|
||||||
"remarks": self.remarks,
|
"remarks": self.remarks,
|
||||||
"against_voucher": self.name,
|
"against_voucher": self.return_against if cint(self.is_return) else self.name,
|
||||||
"against_voucher_type": self.doctype,
|
"against_voucher_type": self.doctype,
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user