mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
Update sales_invoice.py
This commit is contained in:
@@ -632,7 +632,7 @@ class SalesInvoice(SellingController):
|
|||||||
return gl_entries
|
return gl_entries
|
||||||
|
|
||||||
def make_customer_gl_entry(self, gl_entries):
|
def make_customer_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"):
|
if self.get("payment_schedule"):
|
||||||
for d in self.get("payment_schedule"):
|
for d in self.get("payment_schedule"):
|
||||||
payment_amount_in_company_currency = flt(d.payment_amount * self.conversion_rate,
|
payment_amount_in_company_currency = flt(d.payment_amount * self.conversion_rate,
|
||||||
|
|||||||
Reference in New Issue
Block a user