Merge pull request #17932 from rohitwaghchaure/fixed_pos_not_overriding_the_taxes_develop

fix: taxes are not overriding after changing the tax template for the POS invoice
This commit is contained in:
rohitwaghchaure 2019-06-13 16:26:11 +05:30 committed by GitHub
commit 95c88a5e95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -384,6 +384,10 @@ erpnext.accounts.SalesInvoiceController = erpnext.selling.SellingController.exte
me.frm.pos_print_format = r.message.print_format;
}
me.frm.script_manager.trigger("update_stock");
if(me.frm.doc.taxes_and_charges) {
me.frm.script_manager.trigger("taxes_and_charges");
}
frappe.model.set_default_values(me.frm.doc);
me.set_dynamic_labels();
me.calculate_taxes_and_totals();