mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-26 18:18:30 +00:00
[minor] [fix] trigger on raw material item i bom
This commit is contained in:
@@ -95,12 +95,12 @@ class DocType:
|
||||
|
||||
def get_bom_material_detail(self, args=None):
|
||||
""" Get raw material details like uom, desc and rate"""
|
||||
|
||||
if not args:
|
||||
args = webnotes.form_dict.get('args')
|
||||
import json
|
||||
args = json.loads(args)
|
||||
|
||||
|
||||
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