fix: Payment Reconciliation client side validations

This commit is contained in:
marination
2020-10-16 12:36:13 +05:30
parent e8a3825ed1
commit e9b04dc727
2 changed files with 33 additions and 26 deletions

View File

@@ -203,7 +203,7 @@ def set_account_and_due_date(party, account, party_type, company, posting_date,
return out
@frappe.whitelist()
def get_party_account(party_type, party, company):
def get_party_account(party_type, party, company=None):
"""Returns the account for the given `party`.
Will first search in party (Customer / Supplier) record, if not found,
will search in group (Customer Group / Supplier Group),