mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
for tax account, rate is no more mandatory
This commit is contained in:
@@ -185,9 +185,9 @@ erpnext.AccountsChart = Class.extend({
|
||||
// tax rate if tax
|
||||
$(fd.account_type.input).change(function() {
|
||||
if($(this).val()=='Tax') {
|
||||
$(fd.tax_rate.wrapper).toggle(true);
|
||||
$(fd.tax_rate.wrapper).toggle(true);
|
||||
} else {
|
||||
$(fd.tax_rate.wrapper).toggle(false);
|
||||
$(fd.tax_rate.wrapper).toggle(false);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -214,6 +214,7 @@ erpnext.AccountsChart = Class.extend({
|
||||
// show
|
||||
d.onshow = function() {
|
||||
$(fd.group_or_ledger.input).change();
|
||||
$(fd.account_type.input).change();
|
||||
}
|
||||
d.show();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user