Payment against negative invoice, negative outstanding allocation and much more

This commit is contained in:
Nabin Hait
2016-07-01 15:58:39 +05:30
parent 9db1b223da
commit 56548cbfa2
9 changed files with 362 additions and 131 deletions

View File

@@ -254,7 +254,7 @@ def validate_party_accounts(doc):
if doc.default_currency and party_account_currency and company_default_currency:
if doc.default_currency != party_account_currency and doc.default_currency != company_default_currency:
frappe.throw(_("Billing currency must be equal to either default comapany's currency or party's payble account currency"))
frappe.throw(_("Billing currency must be equal to either default comapany's currency or party account currency"))
@frappe.whitelist()
def get_due_date(posting_date, party_type, party, company):