Skip to content
Snippets Groups Projects
  1. Nov 03, 2023
  2. Oct 23, 2023
  3. Oct 16, 2023
  4. Sep 28, 2023
  5. Sep 20, 2023
  6. Sep 13, 2023
  7. Sep 12, 2023
    • Emanuel Buzey's avatar
      [FIX] selfconsumptions: Code Refactoring and Bug Fixes · 1416577d
      Emanuel Buzey authored
      In this commit, several improvements and fixes have been implemented in the 'selfconsumptions' model:
      
      1. Typo correction in code comments for improved clarity.
      
      2. Added explanatory comments to enhance code documentation and understanding.
      
      3. Refactored the codebase to follow the DRY (Don't Repeat Yourself) principle, reducing redundancy and improving maintainability.
      
      4. Eliminated the wizard to initiate the download immediately upon button press, providing a more streamlined user experience.
      
      5. Changed the name of the custom paper format for consistency and clarity.
      1416577d
  8. Sep 05, 2023
  9. Sep 01, 2023
    • ebuzey's avatar
      [ADD] ReportWizard Model, View and Controller · cfcaae23
      ebuzey authored
      1. Introduce the ReportWizard model: A transient model, "ReportWizard", has been implemented in
         report_wizard.py. This template represents the wizard popup window and contains
         the content of the report, the name of the file.
      
      2. The wizard view in report_wizard_view.xml: Shows the report content and file name,
         with a button that, when clicked, triggers the "download_report" method
         on the magician model.
      
      3.controllers.py - when the user clicks "Download report"
         of the wizard, go to the URL /self-consumption_energy/report_download.
         This URL is handled by the controller, which takes the helper registration ID from the URL,
         retrieves the report content from the log and responds with content you request
         the browser to download the report as a file.
      
      [MIG] ReportWizard model, wizard view, controller
      cfcaae23
  10. Aug 31, 2023
  11. Aug 28, 2023
  12. Aug 17, 2023
  13. Aug 01, 2023
  14. Jul 31, 2023
  15. Jul 25, 2023
  16. Jun 14, 2023
  17. Jun 12, 2023
  18. May 24, 2023
  19. May 15, 2023
Loading