1. 17 Mar, 2023 24 commits
  2. 16 Mar, 2023 2 commits
    • Jérome Perrin's avatar
      Localizer,tests: fix translationContext that was working only in test · cbedc73e
      Jérome Perrin authored
      Test setup monkey-patched some function which we removed when merging
      Zope4 support. This function was used in translationContext, it was
      working fine in the tests, because the function was here thanks to the
      monkey-patch, but it failed with ImportError when used for real.
      
      This fixes the import to use the real getRequest and drop the patch to
      prevent similar problems.
      cbedc73e
    • Jérome Perrin's avatar
      accounting_l10n_fr: fix ValidDate computation for FEC · 4c608567
      Jérome Perrin authored
      According to https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000027804775/
      ValidDate is the date when the transaction was validated ( "16. La date
      de validation de l'écriture comptable"), this implementation was simply
      returning the modification date, which was not always correct, for
      example after causality state was recaculated.
      
      This keeps the `getModificationDate` fallback for cases where FEC is
      used with some non validated transactions, in order to keep compatibility
      4c608567
  3. 15 Mar, 2023 8 commits
  4. 13 Mar, 2023 1 commit
  5. 09 Mar, 2023 3 commits
  6. 08 Mar, 2023 2 commits