1. 21 Mar, 2024 1 commit
    • Rafael Monnerat's avatar
      erp5_payroll_l10n_fr: Add action to add Leave Request · 17a05db9
      Rafael Monnerat authored
          In the implementation where the user cannot directly insert holidays (by an specialised role/implementation) it allow the accountant insert the values more easily. Using a simple action.
      
          Add simple jump for navigate to the holidays/leave
      
        This helps to review value on the print out
      17a05db9
  2. 19 Mar, 2024 3 commits
    • Rafael Monnerat's avatar
      erp5_json_editor: Sanitize and update description on schema · a0d6ab94
      Rafael Monnerat authored
        Remove forbidden properties when retrieve the properties from the schema.
      
            - template and options isn't  part of json schema spec, so it isn't possible to use this feature globally.
            - template also could be used to call callbacks, so despite we block unsafe-eval, it still better remove it.
            - both were removed because it can lead to parameter injection, where by saving the form w/o editing anything, it changes the parameters, it adds non-visible values, which can up to some extend be a security risk.
      
         Update the description to display the "default" value as a hint, if it was provided into the schema.
      a0d6ab94
    • Rafael Monnerat's avatar
      Update from upstream/master · e209623a
      Rafael Monnerat authored
      e209623a
    • Rafael Monnerat's avatar
      erp5_disaster_recovery: Initial public release · b111b6e3
      Rafael Monnerat authored
      See merge request !1900
      b111b6e3
  3. 18 Mar, 2024 7 commits
  4. 13 Mar, 2024 3 commits
  5. 11 Mar, 2024 7 commits
  6. 08 Mar, 2024 3 commits
  7. 07 Mar, 2024 2 commits
  8. 06 Mar, 2024 1 commit
  9. 05 Mar, 2024 5 commits
  10. 04 Mar, 2024 2 commits
  11. 01 Mar, 2024 6 commits
    • Rafael Monnerat's avatar
      erp5_forge: Add action to update whole site Local Roles · 75b31033
      Rafael Monnerat authored
          Action on portal_types just invoke updateRoleMapping on all portal types that have
          at least one Role.
      
          This is useful whever you change way too many roles and you can to ensure that
          everything is updated.
      75b31033
    • Rafael Monnerat's avatar
      erp5_forge: Add action to update whole site Local Roles · 7b1855d4
      Rafael Monnerat authored
          Action on portal_types just invoke updateRoleMapping on all portal types that have
          at least one Role.
      
          This is useful whever you change way too many roles and you can to ensure that
          everything is updated.
      7b1855d4
    • Rafael Monnerat's avatar
      Split movement group must split · 34c83947
      Rafael Monnerat authored
      See merge request !1893
      34c83947
    • Jérome Perrin's avatar
      use print_function future · 4a639656
      Jérome Perrin authored
      This uses `from __future__ import print_function` from "unrestricted" python code.
      
      For restricted python in python scripts, this expects SlapOS to have slapos!1536 .
      Running ERP5 with this patch on an old SlapOS software release should probably be OK,
      especially because after all we don't have so much critical code using print.
      
      To ease migration of custom project code, PythonCodeUtils was modified so that
      when running CodingStyle python scripts are checked with print_function future enabled.
      
      See merge request !1883
      4a639656
    • Rafael Monnerat's avatar
      erp5_base: Update comment · 298470ea
      Rafael Monnerat authored
        Since the test() method was fixed the comment became irrelevant
      298470ea
    • Łukasz Nowak's avatar
      Split movement group shall...split. · dab45ba7
      Łukasz Nowak authored
      Returning true allows to add movements to existing one, and this group shall
      always separate them.
      dab45ba7