Merge branch 'master' into develop

This commit is contained in:
Saurabh
2018-01-15 18:36:35 +05:30
19 changed files with 151 additions and 56 deletions

View File

@@ -244,10 +244,11 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
method: "erpnext.controllers.accounts_controller.get_default_taxes_and_charges",
args: {
"master_doctype": taxes_and_charges_field.options,
"tax_template": me.frm.doc.taxes_and_charges,
"company": me.frm.doc.company
},
callback: function(r) {
if(!r.exc) {
if(!r.exc && r.message) {
frappe.run_serially([
() => {
// directly set in doc, so as not to call triggers