title: 2 Record Rules, same object, same group, different domain
body: <p>Human logic vs OpenERP logic, hard times.</p>
  
  <p>Very simple idea: a project user should be able to see/read all the tasks, but only be able to edit/write his assigned tasks.</p>
  
  <p>Easy, Record Rules on project.task:</p>
  
  <ul>
  <li>1st rule:  [('user_id','!=',user.id)], grants Read</li>
  <li>2nd rule:  [('user_id','=',user.id)], grants RW</li>
  </ul>
  
  <p>Nope, 2nd rule overwrites the 1st one.</p>
  
  <p>Is it me or it is really complicated to do real simple things?
  Have I missed something?</p>
  
  <p>Thanks</p>
  
  <p>Edit: To clarify my point here are my rules 1 &amp; 2:</p>
  
  <pre><code>    &lt;record model="ir.rule" id="project_task_user_rule"&gt;
          &lt;field name="name"&gt;Project/task: user: read others tasks&lt;/field&gt;
          &lt;field name="model_id" ref="project.model_project_task"/&gt;
          &lt;field name="domain_force"&gt;[('user_id','not in',[user.id])]&lt;/field&gt;
          &lt;field name="groups" eval="[(4,ref('project.group_project_user'))]"/&gt;
          &lt;field eval="1" name="perm_read"/&gt;
          &lt;field eval="0" name="perm_write"/&gt;
          &lt;field eval="0" name="perm_create"/&gt;
          &lt;field eval="0" name="perm_unlink"/&gt;
      &lt;/record&gt;
  
      &lt;record model="ir.rule" id="project_task_user_rule"&gt;
          &lt;field name="name"&gt;Project/task: user: RW rights on his tasks&lt;/field&gt;
          &lt;field name="model_id" ref="project.model_project_task"/&gt;
          &lt;field name="domain_force"&gt;[('user_id','=',user.id)]&lt;/field&gt;
          &lt;field name="groups" eval="[(4,ref('project.group_project_user'))]"/&gt;
          &lt;field eval="1" name="perm_read"/&gt;
          &lt;field eval="1" name="perm_write"/&gt;
          &lt;field eval="0" name="perm_create"/&gt;
          &lt;field eval="0" name="perm_unlink"/&gt;
      &lt;/record&gt;
  </code></pre>
  
  <p>In this case, the user sees only his tasks and can modify them.
  If I put the second rule over the first one, user can see all the tasks, but is not able to edit any, neither his own.</p>