{"action":"created","issue":{"url":"https://api.github.com/repos/openprocurement/openprocurement.planning.api/issues/13","repository_url":"https://api.github.com/repos/openprocurement/openprocurement.planning.api","labels_url":"https://api.github.com/repos/openprocurement/openprocurement.planning.api/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/openprocurement/openprocurement.planning.api/issues/13/comments","events_url":"https://api.github.com/repos/openprocurement/openprocurement.planning.api/issues/13/events","html_url":"https://github.com/openprocurement/openprocurement.planning.api/pull/13","id":142218630,"number":13,"title":"Add documents workflow","user":{"login":"gorserg","id":28252,"avatar_url":"https://avatars.githubusercontent.com/u/28252?v=3","gravatar_id":"","url":"https://api.github.com/users/gorserg","html_url":"https://github.com/gorserg","followers_url":"https://api.github.com/users/gorserg/followers","following_url":"https://api.github.com/users/gorserg/following{/other_user}","gists_url":"https://api.github.com/users/gorserg/gists{/gist_id}","starred_url":"https://api.github.com/users/gorserg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorserg/subscriptions","organizations_url":"https://api.github.com/users/gorserg/orgs","repos_url":"https://api.github.com/users/gorserg/repos","events_url":"https://api.github.com/users/gorserg/events{/privacy}","received_events_url":"https://api.github.com/users/gorserg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kroman0","id":904994,"avatar_url":"https://avatars.githubusercontent.com/u/904994?v=3","gravatar_id":"","url":"https://api.github.com/users/kroman0","html_url":"https://github.com/kroman0","followers_url":"https://api.github.com/users/kroman0/followers","following_url":"https://api.github.com/users/kroman0/following{/other_user}","gists_url":"https://api.github.com/users/kroman0/gists{/gist_id}","starred_url":"https://api.github.com/users/kroman0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroman0/subscriptions","organizations_url":"https://api.github.com/users/kroman0/orgs","repos_url":"https://api.github.com/users/kroman0/repos","events_url":"https://api.github.com/users/kroman0/events{/privacy}","received_events_url":"https://api.github.com/users/kroman0/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2016-03-20T23:05:30Z","updated_at":"2016-03-22T10:22:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openprocurement/openprocurement.planning.api/pulls/13","html_url":"https://github.com/openprocurement/openprocurement.planning.api/pull/13","diff_url":"https://github.com/openprocurement/openprocurement.planning.api/pull/13.diff","patch_url":"https://github.com/openprocurement/openprocurement.planning.api/pull/13.patch"},"body":"Для можливості підписувати плани \r\n@myroslav\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/openprocurement/openprocurement.planning.api/13) &emsp; Multiple assignees:&emsp;<img alt=\"@kroman0\" height=\"20\" width=\"20\" align=\"absmiddle\" src=\"https://avatars.githubusercontent.com/u/904994?s=40&v=3\">&nbsp;<a href=\"/openprocurement/openprocurement.planning.api/pulls/assigned/kroman0\">kroman0</a>,&emsp;<img alt=\"@vmaksymiv\" height=\"20\" width=\"20\" align=\"absmiddle\" src=\"https://avatars.githubusercontent.com/u/1164532?s=40&v=3\">&nbsp;<a href=\"/openprocurement/openprocurement.planning.api/pulls/assigned/vmaksymiv\">vmaksymiv</a>\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/openprocurement/openprocurement.planning.api/issues/comments/199740196","html_url":"https://github.com/openprocurement/openprocurement.planning.api/pull/13#issuecomment-199740196","issue_url":"https://api.github.com/repos/openprocurement/openprocurement.planning.api/issues/13","id":199740196,"user":{"login":"gorserg","id":28252,"avatar_url":"https://avatars.githubusercontent.com/u/28252?v=3","gravatar_id":"","url":"https://api.github.com/users/gorserg","html_url":"https://github.com/gorserg","followers_url":"https://api.github.com/users/gorserg/followers","following_url":"https://api.github.com/users/gorserg/following{/other_user}","gists_url":"https://api.github.com/users/gorserg/gists{/gist_id}","starred_url":"https://api.github.com/users/gorserg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorserg/subscriptions","organizations_url":"https://api.github.com/users/gorserg/orgs","repos_url":"https://api.github.com/users/gorserg/repos","events_url":"https://api.github.com/users/gorserg/events{/privacy}","received_events_url":"https://api.github.com/users/gorserg/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T10:22:42Z","updated_at":"2016-03-22T10:22:42Z","body":"\n\n\n\n\n\n\n\n*[openprocurement/planning/api/models.py, line 72 \\[r1\\]](https://reviewable.io:443/reviews/openprocurement/openprocurement.planning.api/13#-KDPgfD8SZ8ud0n0E33O:-KDSnlSbhdph3hN7DkV6:1883910958) ([raw file](https://github.com/openprocurement/openprocurement.planning.api/blob/ca57766de48961094bd2658127a8b05cf5fe5530/openprocurement/planning/api/models.py#L72)):*\nУ себе на полігоні перекинув на базовий документ - все наче працює як треба, лише один нюанс - у всіх документах по плану є полу \"documentOf\": \"tender\". Можна спробувати прибрати з видачі, але це треба ж достукатись до ролей у класі Document (class Options: roles = { ..} ) та внести поле documentOf у blacklist? \nЩе спробував такий варіант - наслідував свій Document з базового BaseDocument як\nclass Document(BaseDocument):\n    documentOf = StringType(required=True, default='plan')\n\nтак все нормально наче, може все таки такий варіант ?\n\n---\n\n\n*Comments from the [review on Reviewable.io](https://reviewable.io:443/reviews/openprocurement/openprocurement.planning.api/13)*\n<!-- Sent from Reviewable.io -->\n"}}