Merge branch 'develop' into cancel_pi_cancelled_asset

This commit is contained in:
Anand Baburajan
2023-02-03 23:00:40 +05:30
committed by GitHub
10 changed files with 256 additions and 148 deletions

View File

@@ -305,7 +305,7 @@ def get_returned_qty_map_for_row(return_against, party, row_name, doctype):
fields += ["sum(abs(`tab{0}`.received_stock_qty)) as received_stock_qty".format(child_doctype)]
# Used retrun against and supplier and is_retrun because there is an index added for it
data = frappe.db.get_list(
data = frappe.get_all(
doctype,
fields=fields,
filters=[