{"action":"opened","issue":{"url":"https://api.github.com/repos/saguas/frappe_base_vat/issues/2","repository_url":"https://api.github.com/repos/saguas/frappe_base_vat","labels_url":"https://api.github.com/repos/saguas/frappe_base_vat/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/saguas/frappe_base_vat/issues/2/comments","events_url":"https://api.github.com/repos/saguas/frappe_base_vat/issues/2/events","html_url":"https://github.com/saguas/frappe_base_vat/issues/2","id":175974712,"number":2,"title":"Problems found in ERPNext V7","user":{"login":"rtimagine","id":13966243,"avatar_url":"https://avatars.githubusercontent.com/u/13966243?v=3","gravatar_id":"","url":"https://api.github.com/users/rtimagine","html_url":"https://github.com/rtimagine","followers_url":"https://api.github.com/users/rtimagine/followers","following_url":"https://api.github.com/users/rtimagine/following{/other_user}","gists_url":"https://api.github.com/users/rtimagine/gists{/gist_id}","starred_url":"https://api.github.com/users/rtimagine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtimagine/subscriptions","organizations_url":"https://api.github.com/users/rtimagine/orgs","repos_url":"https://api.github.com/users/rtimagine/repos","events_url":"https://api.github.com/users/rtimagine/events{/privacy}","received_events_url":"https://api.github.com/users/rtimagine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-09T10:10:37Z","updated_at":"2016-09-09T10:10:37Z","closed_at":null,"body":"Hi there,\r\n\r\nI have found problems after upgrading to V7. I even uninstall and reinstalled the base_vat but problems are still there. Is all related when you add a Customer in the Doctypes. For instance, it happens if you add a Customer in a Project.\r\n\r\nHere is a trace of the error:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/app.py\", line 55, in application\r\n    response = frappe.handler.handle()\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/handler.py\", line 19, in handle\r\n    execute_cmd(cmd)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/handler.py\", line 36, in execute_cmd\r\n    ret = frappe.call(method, **frappe.form_dict)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/__init__.py\", line 879, in call\r\n    return fn(*args, **newargs)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/desk/form/load.py\", line 51, in getdoc\r\n    doc.add_seen()\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/document.py\", line 931, in add_seen\r\n    self.db_set('_seen', json.dumps(_seen), update_modified=False)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/base_document.py\", line 362, in db_set\r\n    self.run_method('on_change')\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/document.py\", line 661, in run_method\r\n    return Document.hook(fn)(self, *args, **kwargs)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/document.py\", line 839, in composer\r\n    return composed(self, method, *args, **kwargs)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/document.py\", line 824, in runner\r\n    add_to_return_value(self, f(self, method, *args, **kwargs))\r\n  File \"/home/varmys/frappe-bench/apps/erpnext/erpnext/accounts/party_status.py\", line 52, in notify_status\r\n    party.save(ignore_permissions=True)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/document.py\", line 242, in save\r\n    return self._save(*args, **kwargs)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/document.py\", line 269, in _save\r\n    self.run_before_save_methods()\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/document.py\", line 710, in run_before_save_methods\r\n    self.run_method(\"validate\")\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/document.py\", line 661, in run_method\r\n    return Document.hook(fn)(self, *args, **kwargs)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/model/document.py\", line 836, in composer\r\n    hooks.append(frappe.get_attr(handler))\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/__init__.py\", line 859, in get_attr\r\n    return getattr(get_module(modulename), methodname)\r\n  File \"/home/varmys/frappe-bench/apps/frappe/frappe/__init__.py\", line 643, in get_module\r\n    return importlib.import_module(modulename)\r\n  File \"/usr/lib/python2.7/importlib/__init__.py\", line 37, in import_module\r\n    __import__(name)\r\n  File \"/home/varmys/frappe-bench/apps/base_vat/base_vat/vat/vat_validation.py\", line 12, in \r\n    _logger = frappe.get_logger(__name__)\r\nAttributeError: 'module' object has no attribute 'get_logger'\r\n\r\n\r\nKind Regards,\r\n\r\n\r\nRubén\r\n\r\n"}}
{"actor":{"display_login":"rtimagine"}}