Skip to content
Snippets Groups Projects
  1. Sep 17, 2023
  2. Sep 03, 2023
  3. Jul 30, 2023
  4. Jul 23, 2023
  5. Jul 09, 2023
  6. Jul 02, 2023
  7. Jun 25, 2023
  8. Jun 04, 2023
  9. May 28, 2023
  10. May 07, 2023
  11. Apr 26, 2023
  12. Apr 16, 2023
  13. Apr 09, 2023
  14. Apr 02, 2023
  15. Mar 26, 2023
  16. Mar 24, 2023
    • Andrew Gavgavian's avatar
      [FIX] various: change domain on aml for move_id.state queries · d522150c
      Andrew Gavgavian authored
      
      `Account.move.line` contains a stored related field called `parent_state` which relates to `move_id.state`. This allows for performance improvements by accessing that instead of `move_id.state`.
      
      However, across odoo and enterprise `account.move.line` is domained against `move_id.state`.
      
      This can produce an unnecessary left join on SQL queries for reports or other queries when instead it could use the stored field directly.
      
      To accomplish this fix, we adjust domains to refer to 'parent_state' instead of `move_id.state`
      
      While this PR will adjust multiple modules to fix this domain, it should improve SQL queries over large tables when a left join is no-longer necessary.
      
      opw-3178866
      
      closes odoo/odoo#116277
      
      X-original-commit: 72944738970caacecd61b9c29d4dd1ecf6127f30
      Related: odoo/enterprise#38604
      Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
      d522150c
  17. Mar 19, 2023
  18. Mar 12, 2023
  19. Mar 05, 2023
  20. Feb 26, 2023
  21. Feb 20, 2023
  22. Feb 13, 2023
  23. Feb 05, 2023
  24. Jan 22, 2023
  25. Jan 15, 2023
  26. Jan 08, 2023
  27. Dec 25, 2022
  28. Dec 18, 2022
  29. Dec 11, 2022
  30. Dec 04, 2022
  31. Nov 27, 2022
  32. Nov 24, 2022
  33. Nov 20, 2022
  34. Nov 13, 2022
  35. Oct 30, 2022
  36. Oct 23, 2022
  37. Oct 16, 2022
  38. Oct 09, 2022
  39. Oct 02, 2022
  40. Sep 25, 2022
Loading