mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 07:02:54 +00:00
[minor] [fix] trigger on raw material item i bom
This commit is contained in:
@@ -95,11 +95,11 @@ class DocType:
|
|||||||
|
|
||||||
def get_bom_material_detail(self, args=None):
|
def get_bom_material_detail(self, args=None):
|
||||||
""" Get raw material details like uom, desc and rate"""
|
""" Get raw material details like uom, desc and rate"""
|
||||||
|
|
||||||
if not args:
|
if not args:
|
||||||
args = webnotes.form_dict.get('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'])
|
item = self.get_item_det(args['item_code'])
|
||||||
self.validate_rm_item(item)
|
self.validate_rm_item(item)
|
||||||
|
|||||||
Reference in New Issue
Block a user