Skip to content
Snippets Groups Projects
  1. Apr 14, 2023
    • Thomas Lefebvre (thle)'s avatar
      [FIX] hr: add private contact to employee's followers · 17740f1d
      Thomas Lefebvre (thle) authored
      
      When creating an employee with a private contact,
      the contact will not be automatically added to the employee's followers.
      
      The desired behavior is that the contact is added
      to the followers even if it has a private address.
      Commit: 8760a4d0
      
      However, this behavior will not be possible because
      adding a contact with a private address is forbidden.
      Commit: 20536e1b
      
      Solution:
      The solution is to use the private method `_message_subscribe`.
      This is not a problem in the business case.
      Indeed, the people who have access to the employee's file
      also have access to the private contacts.
      Moreover, the access rights of the public method `message_subscribe`
      do not concern this business case.
      
      opw-3249646
      
      closes odoo/odoo#118572
      
      Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
      17740f1d
  2. Apr 09, 2023
  3. Mar 26, 2023
  4. Mar 19, 2023
  5. Mar 05, 2023
  6. Feb 26, 2023
  7. Feb 19, 2023
  8. Feb 14, 2023
  9. Feb 13, 2023
  10. Feb 05, 2023
  11. Jan 29, 2023
  12. Jan 22, 2023
  13. Jan 15, 2023
  14. Jan 08, 2023
  15. Jan 01, 2023
  16. Dec 25, 2022
  17. Dec 18, 2022
  18. Dec 04, 2022
  19. Nov 27, 2022
  20. Nov 06, 2022
  21. Oct 30, 2022
  22. Oct 23, 2022
  23. Oct 16, 2022
  24. Oct 03, 2022
    • mafo-odoo's avatar
      [FIX] hr: same view when opeing employee from messaging · cf19e314
      mafo-odoo authored
      
      Steps to reproduce:
      - set demo to receive notifs in Odoo
      - go to employees
      - click "launch plan" for demo user
      - login as demo user
      - Click on the link for the activity that is sent in discuss
      
      Issue:
      There is no chatter in the view
      
      Explanation:
      the view of en employee coming from messaging is always
      hr.employee.public that does not contain the chatter.
      
      opw-2990577
      
      closes odoo/odoo#100959
      
      Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
      cf19e314
  25. Oct 02, 2022
  26. Sep 25, 2022
  27. Sep 15, 2022
  28. Aug 28, 2022
  29. Aug 14, 2022
  30. Jul 25, 2022
  31. Jul 24, 2022
  32. Jul 10, 2022
  33. Jul 03, 2022
  34. Jun 26, 2022
  35. Jun 24, 2022
    • William Braeckman's avatar
      [FIX] hr: fix access error on language change · 90cec407
      William Braeckman authored
      
      Backport of odoo/odoo#81474
      Before odoo/odoo#86889 a regular user with employees in multiple
      companies was not able to change his own language due to a chain of
      event calling onchange on all the employee_ids and employee_ids on
      res.users being read as sudo.
      The fix does work but was wrong because it gave access to the user's
      public employee regardless of the active company_id
      A domain was added to employee_ids to make force the security rules even
      in sudo.
      
      closes odoo/odoo#94558
      
      Signed-off-by: default avatarKevin Baptiste <kba@odoo.com>
      90cec407
  36. Jun 19, 2022
  37. May 29, 2022
  38. May 22, 2022
  39. May 08, 2022
  40. May 01, 2022
Loading