mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-22 19:55:29 +00:00
@@ -287,7 +287,7 @@ def get_conditions(filters):
|
|||||||
conditions = ""
|
conditions = ""
|
||||||
|
|
||||||
for opts in (
|
for opts in (
|
||||||
("company", " and company=%(company)s"),
|
("company", " and `tabPurchase Invoice`.company=%(company)s"),
|
||||||
("supplier", " and `tabPurchase Invoice`.supplier = %(supplier)s"),
|
("supplier", " and `tabPurchase Invoice`.supplier = %(supplier)s"),
|
||||||
("item_code", " and `tabPurchase Invoice Item`.item_code = %(item_code)s"),
|
("item_code", " and `tabPurchase Invoice Item`.item_code = %(item_code)s"),
|
||||||
("from_date", " and `tabPurchase Invoice`.posting_date>=%(from_date)s"),
|
("from_date", " and `tabPurchase Invoice`.posting_date>=%(from_date)s"),
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ def get_conditions(filters, additional_conditions=None):
|
|||||||
conditions = ""
|
conditions = ""
|
||||||
|
|
||||||
for opts in (
|
for opts in (
|
||||||
("company", " and company=%(company)s"),
|
("company", " and `tabSales Invoice`.company=%(company)s"),
|
||||||
("customer", " and `tabSales Invoice`.customer = %(customer)s"),
|
("customer", " and `tabSales Invoice`.customer = %(customer)s"),
|
||||||
("item_code", " and `tabSales Invoice Item`.item_code = %(item_code)s"),
|
("item_code", " and `tabSales Invoice Item`.item_code = %(item_code)s"),
|
||||||
("from_date", " and `tabSales Invoice`.posting_date>=%(from_date)s"),
|
("from_date", " and `tabSales Invoice`.posting_date>=%(from_date)s"),
|
||||||
|
|||||||
Reference in New Issue
Block a user