fix intendation
This commit is contained in:
parent
db120fb0bc
commit
4bbf705e58
@ -750,7 +750,7 @@ class PurchaseInvoice(BuyingController):
|
||||
self.db_set('on_hold', 0)
|
||||
self.db_set('release_date', None)
|
||||
|
||||
def set_tax_withholding(self):
|
||||
def set_tax_withholding(self):
|
||||
"""
|
||||
1. Get TDS Configurations against Supplier
|
||||
"""
|
||||
@ -812,4 +812,3 @@ def block_invoice(name, hold_comment):
|
||||
def make_inter_company_sales_invoice(source_name, target_doc=None):
|
||||
from erpnext.accounts.doctype.sales_invoice.sales_invoice import make_inter_company_invoice
|
||||
return make_inter_company_invoice("Purchase Invoice", source_name, target_doc)
|
||||
|
||||
|
@ -602,7 +602,7 @@ def get_outstanding_invoices(party_type, party, account, condition=None):
|
||||
invoice = 'Sales Invoice' if erpnext.get_party_account_type(party_type) == 'Receivable' else 'Purchase Invoice'
|
||||
held_invoices = get_held_invoices(party_type, party)
|
||||
|
||||
invoice_list = frappe.db.sql("""
|
||||
invoice_list = frappe.db.sql("""
|
||||
select
|
||||
voucher_no, voucher_type, posting_date, ifnull(sum({dr_or_cr}), 0) as invoice_amount,
|
||||
(
|
||||
|
Loading…
x
Reference in New Issue
Block a user