Update purchase_invoice.py
This commit is contained in:
parent
1c4653ed97
commit
6b70906deb
@ -361,7 +361,7 @@ class PurchaseInvoice(BuyingController):
|
||||
return gl_entries
|
||||
|
||||
def make_supplier_gl_entry(self, gl_entries):
|
||||
grand_total = self.rounded_total or self.grand_total
|
||||
grand_total = self.rounded_total or self.grand_total
|
||||
if self.get("payment_schedule"):
|
||||
for d in self.get("payment_schedule"):
|
||||
payment_amount_in_company_currency = flt(d.payment_amount * self.conversion_rate,
|
||||
|
Loading…
x
Reference in New Issue
Block a user