{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/sale-workflow/issues/271","repository_url":"https://api.github.com/repos/OCA/sale-workflow","labels_url":"https://api.github.com/repos/OCA/sale-workflow/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/OCA/sale-workflow/issues/271/comments","events_url":"https://api.github.com/repos/OCA/sale-workflow/issues/271/events","html_url":"https://github.com/OCA/sale-workflow/pull/271","id":138634674,"number":271,"title":"[ADD] sales_team_security","user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars.githubusercontent.com/u/7165771?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OCA/sale-workflow/labels/needs%20review","name":"needs review","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OCA/sale-workflow/milestones/3","html_url":"https://github.com/OCA/sale-workflow/milestones/8.0","labels_url":"https://api.github.com/repos/OCA/sale-workflow/milestones/3/labels","id":999334,"number":3,"title":"8.0","description":"","creator":{"login":"max3903","id":939952,"avatar_url":"https://avatars.githubusercontent.com/u/939952?v=3","gravatar_id":"","url":"https://api.github.com/users/max3903","html_url":"https://github.com/max3903","followers_url":"https://api.github.com/users/max3903/followers","following_url":"https://api.github.com/users/max3903/following{/other_user}","gists_url":"https://api.github.com/users/max3903/gists{/gist_id}","starred_url":"https://api.github.com/users/max3903/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max3903/subscriptions","organizations_url":"https://api.github.com/users/max3903/orgs","repos_url":"https://api.github.com/users/max3903/repos","events_url":"https://api.github.com/users/max3903/events{/privacy}","received_events_url":"https://api.github.com/users/max3903/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":25,"state":"open","created_at":"2015-02-27T20:13:18Z","updated_at":"2016-07-11T15:47:25Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2016-03-05T02:20:39Z","updated_at":"2016-07-21T23:02:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/sale-workflow/pulls/271","html_url":"https://github.com/OCA/sale-workflow/pull/271","diff_url":"https://github.com/OCA/sale-workflow/pull/271.diff","patch_url":"https://github.com/OCA/sale-workflow/pull/271.patch"},"body":"==============================\r\nSecurity rules for sales teams\r\n==============================\r\n\r\nThis module sets different permissions levels for accessing sales and CRM \r\nrecords based on the sales team: customers, sales orders, leads, opportunities,\r\nphone calls and sales teams.\r\n\r\nIt also handles the propagation of the sales team from commercial partners to\r\nthe contacts, which standard doesn't make.\r\n\r\nInstallation\r\n============\r\n\r\nAt installation time, this module sets int all the contacts that have the sales\r\nteam empty the sales team of the parent. If you have a lot of contacts, this\r\noperation can take a while.\r\n\r\nUsage\r\n=====\r\n\r\nOn the user configuration (Configuration > Users > Users), select in the\r\n*Sales Team* section the option \"See only own team\". Then, the documents\r\nmentioned before will be filtered out to have only those belonging to the\r\nteams the user belongs to.\r\n\r\nThis is complementary to the Sales level access, but sometimes can be\r\nincoherent depending on the combination chosen. If you chose \"See Own Leads\"\r\non _Sales_ section, marking on unmarking the sales team check will be\r\nirrelevant, because the most restricting level, which the sales one, will\r\nprevail.\r\n\r\nKnown issues/Roadmap\r\n====================\r\n\r\n* This module is designed for support only sales part, so someone that has\r\n  access to other Odoo parts (for example, an accountant), shouldn't have\r\n  this new permission, or some access errors will be found when seeing invoices\r\n  and other documents. A _sales_team_security_account_ bridge module can be\r\n  done for fixing this case, but not in the case of for example warehouse."},"comment":{"url":"https://api.github.com/repos/OCA/sale-workflow/issues/comments/234410081","html_url":"https://github.com/OCA/sale-workflow/pull/271#issuecomment-234410081","issue_url":"https://api.github.com/repos/OCA/sale-workflow/issues/271","id":234410081,"user":{"login":"rafaelbn","id":8736623,"avatar_url":"https://avatars.githubusercontent.com/u/8736623?v=3","gravatar_id":"","url":"https://api.github.com/users/rafaelbn","html_url":"https://github.com/rafaelbn","followers_url":"https://api.github.com/users/rafaelbn/followers","following_url":"https://api.github.com/users/rafaelbn/following{/other_user}","gists_url":"https://api.github.com/users/rafaelbn/gists{/gist_id}","starred_url":"https://api.github.com/users/rafaelbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafaelbn/subscriptions","organizations_url":"https://api.github.com/users/rafaelbn/orgs","repos_url":"https://api.github.com/users/rafaelbn/repos","events_url":"https://api.github.com/users/rafaelbn/events{/privacy}","received_events_url":"https://api.github.com/users/rafaelbn/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T23:02:39Z","updated_at":"2016-07-21T23:02:39Z","body":"Rebuilding for testing."}}
{"actor":{"display_login":"rafaelbn"}}