{"action":"closed","issue":{"url":"https://api.github.com/repos/frappe/erpnext/issues/6921","repository_url":"https://api.github.com/repos/frappe/erpnext","labels_url":"https://api.github.com/repos/frappe/erpnext/issues/6921/labels{/name}","comments_url":"https://api.github.com/repos/frappe/erpnext/issues/6921/comments","events_url":"https://api.github.com/repos/frappe/erpnext/issues/6921/events","html_url":"https://github.com/frappe/erpnext/issues/6921","id":188977592,"number":6921,"title":"AttributeError thrown on Production Planning Tool","user":{"login":"NlightNFotis","id":1859274,"avatar_url":"https://avatars.githubusercontent.com/u/1859274?v=3","gravatar_id":"","url":"https://api.github.com/users/NlightNFotis","html_url":"https://github.com/NlightNFotis","followers_url":"https://api.github.com/users/NlightNFotis/followers","following_url":"https://api.github.com/users/NlightNFotis/following{/other_user}","gists_url":"https://api.github.com/users/NlightNFotis/gists{/gist_id}","starred_url":"https://api.github.com/users/NlightNFotis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NlightNFotis/subscriptions","organizations_url":"https://api.github.com/users/NlightNFotis/orgs","repos_url":"https://api.github.com/users/NlightNFotis/repos","events_url":"https://api.github.com/users/NlightNFotis/events{/privacy}","received_events_url":"https://api.github.com/users/NlightNFotis/received_events","type":"User","site_admin":false},"labels":[{"id":42304942,"url":"https://api.github.com/repos/frappe/erpnext/labels/bug","name":"bug","color":"e11d21","default":true},{"id":199494068,"url":"https://api.github.com/repos/frappe/erpnext/labels/critical","name":"critical","color":"eb6420","default":false},{"id":467539035,"url":"https://api.github.com/repos/frappe/erpnext/labels/manufacturing","name":"manufacturing","color":"1d76db","default":false},{"id":322678881,"url":"https://api.github.com/repos/frappe/erpnext/labels/needs-fixes","name":"needs-fixes","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-13T15:58:01Z","updated_at":"2016-11-16T12:17:04Z","closed_at":"2016-11-16T12:17:04Z","body":"Hello,\r\n\r\nUsing the Production Planning Tool to create a new materials request, we get thrown this exception:\r\n\r\n```\r\nTraceback (most recent call last):   \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/app.py\", line 55, in application    \r\n response = frappe.handler.handle()   \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/handler.py\", line 19, in handle     \r\n execute_cmd(cmd)   \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/handler.py\", line 36, in execute_cmd     \r\n ret = frappe.call(method, **frappe.form_dict)   \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/__init__.py\", line 890, in call     \r\n return fn(*args, **newargs)   \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/handler.py\", line 67, in runserverobj      \r\n frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args) \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/desk/form/run_method.py\", line 35, in runserverobj \r\n r = doc.run_method(method)   \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/model/document.py\", line 654, in run_method       \r\n out = Document.hook(fn)(self, *args, **kwargs)   \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/model/document.py\", line 882, in composer      \r\n return composed(self, method, *args, **kwargs)   \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/model/document.py\", line 865, in runner     \r\n add_to_return_value(self, fn(self, *args, **kwargs))   \r\nFile \"/home/www/frappe-bench/apps/frappe/frappe/model/document.py\", line 648, in\r\n fn = lambda self, args, **kwargs: getattr(self, method)(args, **kwargs) \r\nFile \"/home/www/frappe-bench/apps/erpnext/erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py\", line 403, in raise_material_requests\r\n self.get_raw_materials(bom_dict,self.create_material_requests_non_stock_request) \r\nAttributeError: 'ProductionPlanningTool' object has no attribute 'create_material_requests_non_stock_request'\r\n```\r\n\r\nIt seems that there is a reference to `self.create_material_requests_no_stock_request` but there is no such symbol in scope."}}
{"actor":{"display_login":"nabinhait"}}