{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/10890","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/10890/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/10890/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/10890/events","html_url":"https://github.com/odoo/odoo/issues/10890","id":133021355,"number":10890,"title":"[9.0] Mutli Company + Partners Rules","user":{"login":"adekock11","id":1809451,"avatar_url":"https://avatars.githubusercontent.com/u/1809451?v=3","gravatar_id":"","url":"https://api.github.com/users/adekock11","html_url":"https://github.com/adekock11","followers_url":"https://api.github.com/users/adekock11/followers","following_url":"https://api.github.com/users/adekock11/following{/other_user}","gists_url":"https://api.github.com/users/adekock11/gists{/gist_id}","starred_url":"https://api.github.com/users/adekock11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adekock11/subscriptions","organizations_url":"https://api.github.com/users/adekock11/orgs","repos_url":"https://api.github.com/users/adekock11/repos","events_url":"https://api.github.com/users/adekock11/events{/privacy}","received_events_url":"https://api.github.com/users/adekock11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-11T16:31:38Z","updated_at":"2016-02-12T05:45:43Z","closed_at":null,"body":"User A is part of Company A (allowed companies is just Company A) and Company A has many partners.\r\n\r\nUser B is part of Company B (allowed companies is just Company B) and Company B has many partners.\r\n\r\nUser A sees all the partners from Company A and B.\r\nUser B sees all the partners from Company A and B.\r\n\r\nUpon closer inspection, [this rule](https://github.com/odoo/odoo/blob/9.0/openerp/addons/base/security/base_security.xml#L94) does not get loaded into the database for some weird reason."},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/183187863","html_url":"https://github.com/odoo/odoo/issues/10890#issuecomment-183187863","issue_url":"https://api.github.com/repos/odoo/odoo/issues/10890","id":183187863,"user":{"login":"adekock11","id":1809451,"avatar_url":"https://avatars.githubusercontent.com/u/1809451?v=3","gravatar_id":"","url":"https://api.github.com/users/adekock11","html_url":"https://github.com/adekock11","followers_url":"https://api.github.com/users/adekock11/followers","following_url":"https://api.github.com/users/adekock11/following{/other_user}","gists_url":"https://api.github.com/users/adekock11/gists{/gist_id}","starred_url":"https://api.github.com/users/adekock11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adekock11/subscriptions","organizations_url":"https://api.github.com/users/adekock11/orgs","repos_url":"https://api.github.com/users/adekock11/repos","events_url":"https://api.github.com/users/adekock11/events{/privacy}","received_events_url":"https://api.github.com/users/adekock11/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T05:45:43Z","updated_at":"2016-02-12T05:45:43Z","body":"Thanks for you feedback! Based off what you said I saw that the commit you are referring to adds a Shared Resources checkbox on the General Settings view, which will activate/deactivate the Partner and Product company rules based on whether the Shared Resources checkbox is checked or not. \r\n\r\nYou have to be in the \"Multi Company\" group to see the checkbox though. [Link](https://github.com/odoo/odoo/blob/9.0/addons/base_setup/res_config_view.xml#L74). Take a look at the screen shots below:\r\n\r\nWithout Multi Company enabled\r\n![screen 1](https://cloud.githubusercontent.com/assets/1809451/12999866/702a61e4-d15c-11e5-9bdf-88862bc9b67e.JPG)\r\nWith Multi Company enabled\r\n![screen 2](https://cloud.githubusercontent.com/assets/1809451/12999867/74945d70-d15c-11e5-9245-91dfe56918ca.JPG)\r\n"}}