- 26 Feb, 2021 26 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Allow edition in the new UI
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
This make everything slow as hell and prevent to quickly save.
-
Romain Courteaud authored
Example: <h2 class="foo">bar</h2> => <h3 class="foo">bar</h3>
-
Romain Courteaud authored
-
Romain Courteaud authored
erp5_web_renderjs_ui: keep previous focus color
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
This reverts commit a87db49b.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
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.
-
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
-
- 25 Feb, 2021 6 commits
-
-
Romain Courteaud authored
They are often used to achieve surprising styling
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Jérome Perrin authored
This customizable type based method is used in "Attach Document" and "Scan Document" dialogs, to set a default value in the dialog for the publication state field.
-
- 24 Feb, 2021 1 commit
-
-
Jérome Perrin authored
This code is not used and rely on pdftk that we don't have installed in slapos
-
- 23 Feb, 2021 4 commits
-
-
Romain Courteaud authored
Do not remove relative url, as they are ofter use in img tag
-
Romain Courteaud authored
-
Romain Courteaud authored
This allow to see the content when being displayed as a web page content
-
Romain Courteaud authored
details is not always the last child
-
- 22 Feb, 2021 3 commits
-
-
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
-
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.
-
Jérome Perrin authored
ingestion's dialog uses some type based methods for customizability, use same type based methods here.
-