fix: Tax template update on customer address change

This commit is contained in:
Deepesh Garg 2020-12-16 13:00:55 +05:30
parent abc3227480
commit ad59726f20

View File

@ -9,6 +9,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) {
let party_details = {
'shipping_address': frm.doc.shipping_address || '',