[fix] [minor] allowed territory group in all transactions

This commit is contained in:
Nabin Hait
2013-07-25 18:01:13 +05:30
parent 0a0d294017
commit ea51b41239
8 changed files with 0 additions and 58 deletions

View File

@@ -48,12 +48,6 @@ erpnext.selling.InstallationNote = wn.ui.form.Controller.extend({
}
});
this.frm.set_query("territory", function() {
return {
filters: {'is_group': "No" }
}
});
this.frm.set_query("customer", function() {
return {
query: "controllers.queries.customer_query"

View File

@@ -197,12 +197,6 @@ cur_frm.cscript['Unstop Sales Order'] = function() {
}
}
cur_frm.fields_dict['territory'].get_query = function(doc,cdt,cdn) {
return{
filters:{ 'is_group': "No"}
}
}
cur_frm.cscript.on_submit = function(doc, cdt, cdn) {
if(cint(wn.boot.notification_settings.sales_order)) {
cur_frm.email_doc(wn.boot.notification_settings.sales_order_message);