feat: Provision to send Accounts Receivable Reports using Process SOA (#35789)

* feat: Provision to send Accounts Receivable Reports using Process Statement of Accounts

Issue #35707

(cherry picked from commit b3d565c91f)

# Conflicts:
#	erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py

* fix: add patch for setting default value of report field

(cherry picked from commit 555c126eb9)

# Conflicts:
#	erpnext/patches.txt

* fix: modify patch

(cherry picked from commit cde82bc0cc)

* chore: update typo in patch

(cherry picked from commit 4de7a4c571)

* chore: Resolve conflicts

---------

Co-authored-by: Gursheen Anand <gursheen@frappe.io>
Co-authored-by: Deepesh Garg <deepeshgarg6@gmail.com>
This commit is contained in:
mergify[bot]
2023-06-25 16:21:18 +05:30
committed by GitHub
parent 4a7d75b5cc
commit 21d560cd19
8 changed files with 560 additions and 75 deletions

View File

@@ -0,0 +1,10 @@
# Copyright (c) 2022, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE
import frappe
def execute():
process_soa = frappe.qb.DocType("Process Statement Of Accounts")
q = frappe.qb.update(process_soa).set(process_soa.report, "General Ledger")
q.run()