fix: Sider issues

This commit is contained in:
GangaManoj 2021-07-09 22:15:10 +05:30
parent 4e284433d1
commit 97193a4632
4 changed files with 4 additions and 4 deletions

View File

@ -319,7 +319,7 @@ frappe.ui.form.on('Asset', {
var doclist = frappe.model.sync(r.message);
frappe.set_route("Form", doclist[0].doctype, doclist[0].name);
}
})
});
},
create_asset_adjustment: function(frm) {

View File

@ -181,7 +181,7 @@ class Asset(AccountsController):
self.validate_asset_finance_books(d)
start = 0
for n in range (len(self.schedules)):
for n in range(len(self.schedules)):
if not self.schedules[n].journal_entry:
del self.schedules[n:]
start = n

View File

@ -31,7 +31,7 @@ frappe.ui.form.on('Asset Maintenance', {
frm.trigger('make_dashboard');
}
frm.toggle_display(['stock_consumption_details_section'], frm.doc.stock_consumption)
frm.toggle_display(['stock_consumption_details_section'], frm.doc.stock_consumption);
},
make_dashboard: (frm) => {

View File

@ -5,7 +5,7 @@
from __future__ import unicode_literals
import frappe
from frappe import _
from frappe.utils import time_diff_in_hours, getdate, add_days, date_diff, add_months, flt, cint
from frappe.utils import time_diff_in_hours, getdate, add_months, flt, cint
from frappe.model.document import Document
from erpnext.accounts.general_ledger import make_gl_entries