Validate currency of default receivable/payable accounts

This commit is contained in:
Nabin Hait
2015-10-16 13:08:33 +05:30
parent 2873f2e7de
commit aa015902d5
5 changed files with 9 additions and 8 deletions

View File

@@ -495,7 +495,8 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
}
if(this.frm.fields_dict["advances"]) {
setup_field_label_map(["advance_amount", "allocated_amount"], company_currency, "advances");
setup_field_label_map(["advance_amount", "allocated_amount"],
this.frm.doc.party_account_currency, "advances");
}
// toggle columns