1. 23 Dec, 2024 2 commits
    • Titouan Soulard's avatar
      erp5_core: fix `TypeError` on raise in `Base_edit` · a4274276
      Titouan Soulard authored
      String value raised with `ValueError` had an extra `%s` at the end, hence
      raising another error when formatting:
      
      > TypeError: not enough arguments for format string
      
      This commit simply removes the extra formatting character, since I could not
      guess what should have been printed here.
      a4274276
    • Titouan Soulard's avatar
      erp5_trade: fix method `Movement_zGetPackedQuantity` · 4aec00c2
      Titouan Soulard authored
      The ZSQLMethod was using a wrong table `movement` instead of the `stock` table,
      hence throwing errors. This commit makes it use the right table, by adding a
      filter on `node_uid`, taking into account the structure of the new table.
      
      /reviewed-by @jerome
      /reviewed-on !2030
      4aec00c2
  2. 19 Dec, 2024 2 commits
  3. 18 Dec, 2024 4 commits
  4. 17 Dec, 2024 1 commit
  5. 14 Dec, 2024 4 commits
  6. 13 Dec, 2024 7 commits
  7. 06 Dec, 2024 1 commit
  8. 21 Nov, 2024 1 commit
  9. 20 Nov, 2024 2 commits
  10. 18 Nov, 2024 2 commits
  11. 15 Nov, 2024 1 commit
  12. 14 Nov, 2024 1 commit
    • Nicolas Wavrant's avatar
      erp5_pdm: speed up the Stock view of products · d1c141da
      Nicolas Wavrant authored
      By pre-fetching some catalog entries to retrieve objects UIDs that can directly
      be used in the inventory query, to avoid needless (costly) joins and hinting
      the catalog to use the resource_section_node_uid index of the stock table.
      d1c141da
  13. 12 Nov, 2024 9 commits
  14. 11 Nov, 2024 1 commit
  15. 08 Nov, 2024 2 commits