title: Limit products to company assigned to user in multi-company Odoo 9
body: <p>I have a multi-company setup in Odoo, and I would like to limit the products that each user (under the group "User") can access (read/write/create/delete) to the products assigned to the company that the user is assigned to.</p>
  
  <p>To be clear, I have:</p>
  
  <p>Companies:</p>
  
  <ul>
  <li>Company A</li>
  <li>Company B</li>
  </ul>
  
  <p>Users:</p>
  
  <ul>
  <li>User A (assigned to "Company A" and user group "User")</li>
  <li>User B (assigned to "Company B" and user group "User")</li>
  </ul>
  
  <p>Products:</p>
  
  <ul>
  <li>Product A (assigned to "Company A")</li>
  <li>Product B (assigned to "Company B")</li>
  </ul>
  
  <p>With the default setup, User A has access to both Product A and Product B, and I would like user A to have access exclusively to product A, on all modules (Sales, Inventory, POS…)</p>
  
  <p>I believe that is possible to accomplish using Record Rules, but I haven't been able to do it.</p>