[fix] [minor] [query] sales invoice from delivery note

This commit is contained in:
Anand Doshi
2013-09-03 16:21:01 +05:30
parent 3139973662
commit 1dadf35fc7
2 changed files with 3 additions and 2 deletions

View File

@@ -80,7 +80,6 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
source_doctype: "Delivery Note",
get_query: function() {
var filters = {
docstatus: 1,
company: cur_frm.doc.company
};
if(cur_frm.doc.customer) filters["customer"] = cur_frm.doc.customer;