[hot] taxes

This commit is contained in:
Rushabh Mehta 2015-05-08 11:08:48 +05:30
parent 15c284497b
commit ab1ed013b3
2 changed files with 3 additions and 3 deletions

View File

@ -5,6 +5,6 @@ cur_frm.cscript.tax_table = "Sales Taxes and Charges";
{% include "public/js/controllers/accounts.js" %} {% include "public/js/controllers/accounts.js" %}
frappe.ui.form.on("sales Taxes and Charges Template", "onload", function(frm) { frappe.ui.form.on("Sales Taxes and Charges Template", "onload", function(frm) {
erpnext.add_applicable_territory(); erpnext.add_applicable_territory();
}); });

View File

@ -35,8 +35,8 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({
this.frm.set_query("taxes_and_charges", function() { this.frm.set_query("taxes_and_charges", function() {
return { return {
filters: [ filters: [
['sales Taxes and Charges Template', 'company', '=', me.frm.doc.company], ['Sales Taxes and Charges Template', 'company', '=', me.frm.doc.company],
['sales Taxes and Charges Template', 'docstatus', '!=', 2] ['Sales Taxes and Charges Template', 'docstatus', '!=', 2]
] ]
} }
}); });