mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-04 22:18:27 +00:00
Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
@@ -101,9 +101,10 @@ class DocType:
|
||||
""" Get raw material details like uom, desc and rate"""
|
||||
if not args:
|
||||
args = webnotes.form_dict.get('args')
|
||||
|
||||
import json
|
||||
args = json.loads(args)
|
||||
|
||||
if isinstance(args, basestring):
|
||||
import json
|
||||
args = json.loads(args)
|
||||
|
||||
item = self.get_item_det(args['item_code'])
|
||||
self.validate_rm_item(item)
|
||||
|
||||
Reference in New Issue
Block a user