Merge branch 'hotfix'

This commit is contained in:
Nabin Hait 2017-12-26 18:34:16 +05:30
commit 58384215b6
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import frappe
from erpnext.hooks import regional_overrides
from frappe.utils import getdate
__version__ = '10.0.0'
__version__ = '10.0.1'
def get_default_company(user=None):
'''Get default company for user'''

View File

@ -175,7 +175,7 @@ frappe.ui.form.on('Asset', {
"item_code": frm.doc.item_code,
"company": frm.doc.company
},
method: "erpnext.accounts.doctype.asset.asset.make_sales_invoice",
method: "erpnext.assets.doctype.asset.asset.make_sales_invoice",
callback: function(r) {
var doclist = frappe.model.sync(r.message);
frappe.set_route("Form", doclist[0].doctype, doclist[0].name);