[minor] communication, webnotes/erpnext#790

This commit is contained in:
Rushabh Mehta
2013-09-04 16:20:18 +05:30
parent 140f9052a9
commit 090d410498
4 changed files with 8 additions and 8 deletions

View File

@@ -62,11 +62,11 @@ erpnext.selling.QuotationController = erpnext.selling.SellingController.extend({
if (!doc.__islocal) {
cur_frm.communication_view = new wn.views.CommunicationList({
list: wn.model.get("Communication", {"quotation": doc.name}),
list: wn.model.get("Communication", {"parent": doc.name, "parenttype": "Quotation"}),
parent: cur_frm.fields_dict.communication_html.wrapper,
doc: doc,
recipients: doc.contact_email
});
});
}
this.quotation_to();