Skip to content
Snippets Groups Projects
  1. May 31, 2024
  2. May 17, 2024
  3. May 16, 2024
  4. Feb 15, 2024
  5. Feb 09, 2024
  6. Nov 27, 2023
  7. Oct 18, 2023
  8. Sep 25, 2023
  9. Sep 05, 2023
  10. Aug 29, 2023
  11. Jul 24, 2023
  12. Jul 17, 2023
  13. Jul 13, 2023
  14. Jul 17, 2023
  15. Jul 07, 2023
    • Houzefa Abbasbhay's avatar
      Revert rev 9db0ebd9a6c5 · c0c6c50e
      Houzefa Abbasbhay authored
      Cannot assume that an analytic name is always derived from model name with underscore/dot changes.
      
      Also, this code crashes when the model contains underscores.
      c0c6c50e
  16. Jun 15, 2023
  17. Jun 12, 2023
  18. Jun 10, 2023
    • oury.balde's avatar
      Fix analytic_get_view function · 9db0ebd9
      oury.balde authored
      An AttributeError occurs when including analytics from the wrong analytic model.
      
      The error message indicates that the object does not have the attribute
      "_required_analytic_fields". To resolve this, replace the line:
      
      required = self.env[view["model"]]._required_analytic_fields()
      
      with:
      
      model_analytic = model.replace("_", ".")
      required = self.env[model_analytic]._required_analytic_fields()
      
      This change ensures that the correct analytic model is referenced,
      avoiding the AttributeError and enabling the retrieval of the required
      analytics fields.
  19. Jun 08, 2023
Loading