Fix Against Voucher in GL Entry for return against purchase invoice
This commit is contained in:
parent
0e6f2474e8
commit
3ad26e4dd1
@ -255,7 +255,7 @@ class PurchaseInvoice(BuyingController):
|
||||
"against": self.against_expense_account,
|
||||
"credit": self.total_amount_to_pay,
|
||||
"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,
|
||||
})
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user