예제 #1
0
def get_invoices(start=0):
	from portal.utils import get_transaction_list
	from accounts.doctype.sales_invoice.templates.pages.invoice import modify_status
	invoices = get_transaction_list("Sales Invoice", start, ["outstanding_amount"])
	for d in invoices:
		modify_status(d)
	return invoices
예제 #2
0
def get_orders(start=0):
    from portal.utils import get_transaction_list
    from selling.doctype.sales_order.templates.pages.order import modify_status
    orders = get_transaction_list("Sales Order", start,
                                  ["per_billed", "per_delivered"])
    for d in orders:
        modify_status(d)

    return orders
예제 #3
0
파일: orders.py 프로젝트: CarlosAnt/erpnext
def get_orders(start=0):
	from portal.utils import get_transaction_list
	from selling.doctype.sales_order.templates.pages.order import modify_status
	orders = get_transaction_list("Sales Order", start, ["per_billed", "per_delivered"])
	for d in orders:
		modify_status(d)
		
	return orders
	
예제 #4
0
파일: shipments.py 프로젝트: poses/erpnext
def get_shipments(start=0):
    from portal.utils import get_transaction_list
    return get_transaction_list("Delivery Note", start)
예제 #5
0
def get_shipments(start=0):
	from portal.utils import get_transaction_list
	return get_transaction_list("Delivery Note", start)