style: Fix formatting
This commit is contained in:
parent
abc2a64d5e
commit
a7992ecb62
@ -119,9 +119,8 @@ class AccountsController(TransactionBase):
|
|||||||
if self.doctype in ['Journal Entry', 'Payment Entry', 'Sales Invoice', 'Purchase Invoice']:
|
if self.doctype in ['Journal Entry', 'Payment Entry', 'Sales Invoice', 'Purchase Invoice']:
|
||||||
self.gl_entries = frappe.get_list("GL Entry", filters={
|
self.gl_entries = frappe.get_list("GL Entry", filters={
|
||||||
"voucher_type": self.doctype,
|
"voucher_type": self.doctype,
|
||||||
"voucher_no": self.name} ,
|
"voucher_no": self.name
|
||||||
fields=["account", "party_type", "party", "debit", "credit", "remarks"]
|
}, fields=["account", "party_type", "party", "debit", "credit", "remarks"])
|
||||||
)
|
|
||||||
|
|
||||||
if self.doctype in ['Purchase Order', 'Sales Order', 'Sales Invoice', 'Purchase Invoice',
|
if self.doctype in ['Purchase Order', 'Sales Order', 'Sales Invoice', 'Purchase Invoice',
|
||||||
'Supplier Quotation', 'Purchase Receipt', 'Delivery Note', 'Quotation']:
|
'Supplier Quotation', 'Purchase Receipt', 'Delivery Note', 'Quotation']:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user