Commonified taxes and totals calculation in server side

This commit is contained in:
Nabin Hait
2015-02-17 12:50:51 +05:30
parent 6f0a3ed8d4
commit bd00e81ad5
4 changed files with 10 additions and 29 deletions

View File

@@ -8,7 +8,6 @@ frappe.require("assets/erpnext/js/utils.js");
erpnext.TransactionController = erpnext.taxes_and_totals.extend({
onload: function() {
var me = this;
if(this.frm.doc.__islocal) {
var today = get_today(),
currency = frappe.defaults.get_user_default("currency");