Merge pull request #37828 from GursheenK/payments-irrespective-of-party-types
fix: payments irrespective of party types
This commit is contained in:
@@ -2046,3 +2046,7 @@ def create_gain_loss_journal(
|
||||
journal_entry.save()
|
||||
journal_entry.submit()
|
||||
return journal_entry.name
|
||||
|
||||
|
||||
def get_party_types_from_account_type(account_type):
|
||||
return frappe.db.get_all("Party Type", {"account_type": account_type}, pluck="name")
|
||||
|
||||
Reference in New Issue
Block a user