Skip to content
Snippets Groups Projects
  1. Jan 30, 2025
    • oury.balde's avatar
      Improve dynamic placeholder implementation · 8898d80c
      oury.balde authored
      - Rename fields/methods for clarity:
        * dynamic_placeholder_button_hidden -> hide_placeholder_button
        * _compute_dynamic_placeholder_button_hidden -> _compute_hide_placeholder_button
      - Restructure JS components:
        * Replace dynamic_placeholder_charfield_patch with new component-based implementation
        * Add proper prop handling and converter type awareness
      - Add onchange handler to clear value when converter changes
      - Refactor placeholder computation using dictionary mapping
      - Update XML views with new field names and component parameters
      - Improve mimetype.py documentation and default handling
      8898d80c
  2. Jan 29, 2025
  3. Dec 18, 2024
  4. Dec 17, 2024
  5. Dec 12, 2024
  6. Dec 10, 2024
    • oury.balde's avatar
      Implement caching and optimization for Redner template handling · c675052b
      oury.balde authored
      - Added `ormcache` to improve performance by caching template retrieval
      in `_get_cached_template`.
      - Refactored template processing logic:
        - Introduced `_to_odoo_template` to centralize transformation
          of external templates into Odoo-compatible format.
        - Simplified template computation in `_compute_template` and
          `_compute_template_data` using cached templates.
      - Removed redundant methods (`to_cache`) and consolidated logic for clarity.
      c675052b
  7. Dec 09, 2024
  8. Oct 03, 2024
  9. Dec 04, 2024
  10. Nov 19, 2024
  11. Dec 08, 2024
  12. Nov 07, 2024
  13. Aug 29, 2024
  14. Aug 28, 2024
  15. Aug 27, 2024
  16. Aug 26, 2024
  17. Aug 22, 2024
  18. Jul 31, 2024
  19. Jul 30, 2024
  20. Jun 12, 2024
  21. Jun 11, 2024
  22. May 28, 2024
    • oury.balde's avatar
      Introduces sorting capabilities within the Redner substitution · e9722140
      oury.balde authored
      Note that we implemented sorting functionality and added unit tests.
      
      The changes include:
      
      - Creation of a new utility file `utils/sorting.py` implementing sorting
      functionalities such as :
      `find_field_with_sort_order`,
      `parse_fields_with_sort_directions`, and `sortkey`.
      - Addition of a new file `tests/test_sorting.py` containing unit tests for
      sorting logic.
      e9722140
  23. May 17, 2024
  24. Jan 09, 2024
  25. Dec 04, 2023
  26. Nov 24, 2023
  27. Feb 07, 2023
  28. Feb 03, 2023
Loading