Merge pull request #24160 from deepeshgarg007/tax_template_update_customer_v13

fix: Tax template update on customer address change
This commit is contained in:
Deepesh Garg 2020-12-16 21:51:01 +05:30 committed by GitHub
commit a9db5a200f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,9 @@ erpnext.setup_auto_gst_taxation = (doctype) => {
tax_category: function(frm) {
frm.trigger('get_tax_template');
},
customer_address: function(frm) {
frm.trigger('get_tax_template');
},
get_tax_template: function(frm) {
if (!frm.doc.company) return;