fix: Shipping Rule picking up old net_rate
(cherry picked from commit c78b8b7897)
# Conflicts:
# erpnext/public/js/controllers/taxes_and_totals.js
# erpnext/public/js/controllers/transaction.js
This commit is contained in:
@@ -266,7 +266,14 @@ erpnext.taxes_and_totals = erpnext.payments.extend({
|
||||
});
|
||||
|
||||
frappe.model.round_floats_in(this.frm.doc, ["total", "base_total", "net_total", "base_net_total"]);
|
||||
<<<<<<< HEAD
|
||||
},
|
||||
=======
|
||||
if(frappe.meta.get_docfield(this.frm.doc.doctype,"shipping_rule",this.frm.doc.name)) {
|
||||
this.shipping_rule()
|
||||
}
|
||||
}
|
||||
>>>>>>> c78b8b7897 (fix: Shipping Rule picking up old net_rate)
|
||||
|
||||
add_taxes_from_item_tax_template: function(item_tax_map) {
|
||||
let me = this;
|
||||
|
||||
Reference in New Issue
Block a user