[hot] taxes
This commit is contained in:
parent
15c284497b
commit
ab1ed013b3
@ -5,6 +5,6 @@ cur_frm.cscript.tax_table = "Sales Taxes and Charges";
|
||||
|
||||
{% 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();
|
||||
});
|
||||
|
@ -35,8 +35,8 @@ erpnext.selling.SellingController = erpnext.TransactionController.extend({
|
||||
this.frm.set_query("taxes_and_charges", function() {
|
||||
return {
|
||||
filters: [
|
||||
['sales Taxes and Charges Template', 'company', '=', me.frm.doc.company],
|
||||
['sales Taxes and Charges Template', 'docstatus', '!=', 2]
|
||||
['Sales Taxes and Charges Template', 'company', '=', me.frm.doc.company],
|
||||
['Sales Taxes and Charges Template', 'docstatus', '!=', 2]
|
||||
]
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user