{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/multi-company/pulls/comments/46087501","id":46087501,"diff_hunk":"@@ -0,0 +1,64 @@\n+.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n+   :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n+   :alt: License: AGPL-3\n+\n+==========================================\n+Product permissions for discrete companies\n+==========================================\n+\n+This modules allows to select in which of the companies you want to use each\n+of the products.\n+\n+Installation\n+============\n+\n+This module uses the post an uninstall hooks for updating default product\n+template security rule. This only means that updating the module will not\n+restore the security rule this module changes. Only a complete removal and\n+reinstallation will serve.\n+\n+Usage\n+=====\n+\n+On the product form view, go to the \"Information\" tab, and put the companies\n+in which you want to use that product. If none is selected, the product will\n+be visible in all companies. The default value is the current company.\n+\n+.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n+   :alt: Try me on Runbot\n+   :target: https://runbot.odoo-community.org/runbot/133/8.0\n+\n+Bug Tracker\n+===========\n+\n+Bugs are tracked on `GitHub Issues\n+<https://github.com/OCA/multi-company/issues>`_. In case of trouble, please\n+check there if your issue has already been reported. If you spotted it first,\n+help us smashing it by providing a detailed and welcomed `feedback\n+<https://github.com/OCA/\n+multi-company/issues/new?body=module:%20\n+product_multi_company%0Aversion:%20\n+8.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.\n+\n+Credits\n+=======\n+\n+Contributors\n+------------\n+\n+* Pedro M. Baeza <pedro.baeza@serviciosbaeza.com>\n+\n+Maintainer\n+----------\n+\n+.. image:: http://odoo-community.org/logo.png\n+   :alt: Odoo Community Association\n+   :target: http://odoo-community.org","path":"product_multi_company/README.rst","position":56,"original_position":56,"commit_id":"6d1d6b5d34658bea1a8968bcff0dcb90dd5797a2","original_commit_id":"6d1d6b5d34658bea1a8968bcff0dcb90dd5797a2","user":{"login":"elicoidal","id":7600613,"avatar_url":"https://avatars.githubusercontent.com/u/7600613?v=3","gravatar_id":"","url":"https://api.github.com/users/elicoidal","html_url":"https://github.com/elicoidal","followers_url":"https://api.github.com/users/elicoidal/followers","following_url":"https://api.github.com/users/elicoidal/following{/other_user}","gists_url":"https://api.github.com/users/elicoidal/gists{/gist_id}","starred_url":"https://api.github.com/users/elicoidal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elicoidal/subscriptions","organizations_url":"https://api.github.com/users/elicoidal/orgs","repos_url":"https://api.github.com/users/elicoidal/repos","events_url":"https://api.github.com/users/elicoidal/events{/privacy}","received_events_url":"https://api.github.com/users/elicoidal/received_events","type":"User","site_admin":false},"body":"https","created_at":"2015-11-29T04:29:30Z","updated_at":"2015-11-29T04:29:30Z","html_url":"https://github.com/OCA/multi-company/pull/19#discussion_r46087501","pull_request_url":"https://api.github.com/repos/OCA/multi-company/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/OCA/multi-company/pulls/comments/46087501"},"html":{"href":"https://github.com/OCA/multi-company/pull/19#discussion_r46087501"},"pull_request":{"href":"https://api.github.com/repos/OCA/multi-company/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/multi-company/pulls/19","id":52049889,"html_url":"https://github.com/OCA/multi-company/pull/19","diff_url":"https://github.com/OCA/multi-company/pull/19.diff","patch_url":"https://github.com/OCA/multi-company/pull/19.patch","issue_url":"https://api.github.com/repos/OCA/multi-company/issues/19","number":19,"state":"open","locked":false,"title":"[ADD] product_multi_company","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},"body":"==========================================\r\nProduct permissions for discrete companies\r\n==========================================\r\n\r\nThis modules allows to select in which of the companies you want to use each\r\nof the products.\r\n\r\nInstallation\r\n============\r\n\r\nThis module uses the post an uninstall hooks for updating default product\r\ntemplate security rule. This only means that updating the module will not\r\nrestore the security rule this module changes. Only a complete removal and\r\nreinstallation will serve.\r\n\r\nUsage\r\n=====\r\n\r\nOn the product form view, go to the \"Information\" tab, and put the companies\r\nin which you want to use that product. If none is selected, the product will\r\nbe visible in all companies. The default value is the current company.","created_at":"2015-11-28T22:31:42Z","updated_at":"2015-11-29T04:29:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62b1b7e43b8ec0c479b1d3a9f70250e3ccbb8efd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/multi-company/pulls/19/commits","review_comments_url":"https://api.github.com/repos/OCA/multi-company/pulls/19/comments","review_comment_url":"https://api.github.com/repos/OCA/multi-company/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/multi-company/issues/19/comments","statuses_url":"https://api.github.com/repos/OCA/multi-company/statuses/6d1d6b5d34658bea1a8968bcff0dcb90dd5797a2","head":{"label":"pedrobaeza:8.0-product_multi_company","ref":"8.0-product_multi_company","sha":"6d1d6b5d34658bea1a8968bcff0dcb90dd5797a2","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},"repo":{"id":47041801,"name":"multi-company","full_name":"pedrobaeza/multi-company","owner":{"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},"private":false,"html_url":"https://github.com/pedrobaeza/multi-company","description":"","fork":true,"url":"https://api.github.com/repos/pedrobaeza/multi-company","forks_url":"https://api.github.com/repos/pedrobaeza/multi-company/forks","keys_url":"https://api.github.com/repos/pedrobaeza/multi-company/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pedrobaeza/multi-company/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pedrobaeza/multi-company/teams","hooks_url":"https://api.github.com/repos/pedrobaeza/multi-company/hooks","issue_events_url":"https://api.github.com/repos/pedrobaeza/multi-company/issues/events{/number}","events_url":"https://api.github.com/repos/pedrobaeza/multi-company/events","assignees_url":"https://api.github.com/repos/pedrobaeza/multi-company/assignees{/user}","branches_url":"https://api.github.com/repos/pedrobaeza/multi-company/branches{/branch}","tags_url":"https://api.github.com/repos/pedrobaeza/multi-company/tags","blobs_url":"https://api.github.com/repos/pedrobaeza/multi-company/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pedrobaeza/multi-company/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pedrobaeza/multi-company/git/refs{/sha}","trees_url":"https://api.github.com/repos/pedrobaeza/multi-company/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pedrobaeza/multi-company/statuses/{sha}","languages_url":"https://api.github.com/repos/pedrobaeza/multi-company/languages","stargazers_url":"https://api.github.com/repos/pedrobaeza/multi-company/stargazers","contributors_url":"https://api.github.com/repos/pedrobaeza/multi-company/contributors","subscribers_url":"https://api.github.com/repos/pedrobaeza/multi-company/subscribers","subscription_url":"https://api.github.com/repos/pedrobaeza/multi-company/subscription","commits_url":"https://api.github.com/repos/pedrobaeza/multi-company/commits{/sha}","git_commits_url":"https://api.github.com/repos/pedrobaeza/multi-company/git/commits{/sha}","comments_url":"https://api.github.com/repos/pedrobaeza/multi-company/comments{/number}","issue_comment_url":"https://api.github.com/repos/pedrobaeza/multi-company/issues/comments{/number}","contents_url":"https://api.github.com/repos/pedrobaeza/multi-company/contents/{+path}","compare_url":"https://api.github.com/repos/pedrobaeza/multi-company/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pedrobaeza/multi-company/merges","archive_url":"https://api.github.com/repos/pedrobaeza/multi-company/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pedrobaeza/multi-company/downloads","issues_url":"https://api.github.com/repos/pedrobaeza/multi-company/issues{/number}","pulls_url":"https://api.github.com/repos/pedrobaeza/multi-company/pulls{/number}","milestones_url":"https://api.github.com/repos/pedrobaeza/multi-company/milestones{/number}","notifications_url":"https://api.github.com/repos/pedrobaeza/multi-company/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pedrobaeza/multi-company/labels{/name}","releases_url":"https://api.github.com/repos/pedrobaeza/multi-company/releases{/id}","created_at":"2015-11-28T22:31:27Z","updated_at":"2015-11-28T22:31:27Z","pushed_at":"2015-11-28T22:54:00Z","git_url":"git://github.com/pedrobaeza/multi-company.git","ssh_url":"git@github.com:pedrobaeza/multi-company.git","clone_url":"https://github.com/pedrobaeza/multi-company.git","svn_url":"https://github.com/pedrobaeza/multi-company","homepage":null,"size":61,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"9.0"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"185353d0ef6abcb2ccd200a0cd8d09c4f77db2c4","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"repo":{"id":20894219,"name":"multi-company","full_name":"OCA/multi-company","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OCA/multi-company","description":"","fork":false,"url":"https://api.github.com/repos/OCA/multi-company","forks_url":"https://api.github.com/repos/OCA/multi-company/forks","keys_url":"https://api.github.com/repos/OCA/multi-company/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/multi-company/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/multi-company/teams","hooks_url":"https://api.github.com/repos/OCA/multi-company/hooks","issue_events_url":"https://api.github.com/repos/OCA/multi-company/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/multi-company/events","assignees_url":"https://api.github.com/repos/OCA/multi-company/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/multi-company/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/multi-company/tags","blobs_url":"https://api.github.com/repos/OCA/multi-company/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/multi-company/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/multi-company/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/multi-company/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/multi-company/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/multi-company/languages","stargazers_url":"https://api.github.com/repos/OCA/multi-company/stargazers","contributors_url":"https://api.github.com/repos/OCA/multi-company/contributors","subscribers_url":"https://api.github.com/repos/OCA/multi-company/subscribers","subscription_url":"https://api.github.com/repos/OCA/multi-company/subscription","commits_url":"https://api.github.com/repos/OCA/multi-company/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/multi-company/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/multi-company/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/multi-company/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/multi-company/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/multi-company/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/multi-company/merges","archive_url":"https://api.github.com/repos/OCA/multi-company/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/multi-company/downloads","issues_url":"https://api.github.com/repos/OCA/multi-company/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/multi-company/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/multi-company/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/multi-company/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/multi-company/labels{/name}","releases_url":"https://api.github.com/repos/OCA/multi-company/releases{/id}","created_at":"2014-06-16T17:45:57Z","updated_at":"2015-10-08T13:29:01Z","pushed_at":"2015-11-28T22:54:00Z","git_url":"git://github.com/OCA/multi-company.git","ssh_url":"git@github.com:OCA/multi-company.git","clone_url":"https://github.com/OCA/multi-company.git","svn_url":"https://github.com/OCA/multi-company","homepage":null,"size":460,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":9,"forks":14,"open_issues":9,"watchers":5,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/multi-company/pulls/19"},"html":{"href":"https://github.com/OCA/multi-company/pull/19"},"issue":{"href":"https://api.github.com/repos/OCA/multi-company/issues/19"},"comments":{"href":"https://api.github.com/repos/OCA/multi-company/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/multi-company/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/multi-company/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/multi-company/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/multi-company/statuses/6d1d6b5d34658bea1a8968bcff0dcb90dd5797a2"}}}}