1. 03 Mar, 2021 20 commits
  2. 02 Mar, 2021 1 commit
  3. 01 Mar, 2021 2 commits
  4. 26 Feb, 2021 4 commits
    • Jérome Perrin's avatar
      l10n_fr: add missing translations · 4b516fe8
      Jérome Perrin authored
      4b516fe8
    • Jérome Perrin's avatar
      3b15e955
    • Jérome Perrin's avatar
      base: don't acquire local role on File · 614ac5e4
      Jérome Perrin authored
      File is a top-level module document, like PDF, Text Document etc, so it
      should have its own security definition and should not acquire local roles.
      
      For cases where files are embedded as sub documents, we are using Embedded
      File, which acquire local roles.
      614ac5e4
    • Jérome Perrin's avatar
      Make Ingestion/Document scanner more customizable · fdde9b45
      Jérome Perrin authored
      In "Attach document" action of erp5_ingestion, the default publication section of attach document suggested in the dialog is defined by a type based script.
      
      We could do the same for group, so that we have a script that is easier to customize for specific cases. One use case is for accounting transactions, the group is usually the group of the entity where the document is attached.
      
      Also, we could enable type based script in document scanner dialog, which is very similar to attach document dialog, but it was not using the scripts.
      
      Similarly, we introduce a script to suggest a title in document scanner.
      
      Another difference between "Attach Document" and "Scan Document" is that the later had a "publication state" field, allowing user to choose a state for the created document. We extend this to "Attach Document" as well and introduce another customizable type based method to be able to configure a default value.
      
      See merge request nexedi/erp5!1359
      fdde9b45
  5. 25 Feb, 2021 6 commits
  6. 24 Feb, 2021 1 commit
  7. 23 Feb, 2021 4 commits
  8. 22 Feb, 2021 2 commits
    • Jérome Perrin's avatar
      ingestion: extend contribute dialog to support "Publication State" · 14097487
      Jérome Perrin authored
      Extend "Attach Document" to have the same feature as in "Scan Document"
      so that user can directly choose the state when uploading a document.
      
      This simplifies a bit document_scanner, which can reuse the code that is
      now in Base_contribute
      14097487
    • Jérome Perrin's avatar
      document_scanner: introduce a customizable type based script to suggest a... · 3238df27
      Jérome Perrin authored
      document_scanner: introduce a customizable type based script to suggest a title for scanned document
      
      Unlike when we attach a document, where the title comes from the filename of the attached document,
      when we scan document we don't have any filename. There's a default behaviour of using the current date, so that title is not empty, but in some cases we can define a script to suggest a better title, for exemple when scanning an invoice, we can suggest using supplier name and the invoice title.
      3238df27