Merge branch 'develop' into fixes_12829

This commit is contained in:
rohitwaghchaure
2018-02-09 12:01:41 +05:30
committed by GitHub
22 changed files with 1551 additions and 1207 deletions

View File

@@ -458,7 +458,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
}
var party = me.frm.doc[frappe.model.scrub(party_type)];
if(party) {
if(party && me.frm.doc.company) {
return frappe.call({
method: "erpnext.accounts.party.get_party_account",
args: {