- 10 Mar, 2021 2 commits
-
-
Jérome Perrin authored
When IBAN is defined, use it by default for reference. IBAN is used by default all over europe, so when it's set it should be used by default for reference. Mixing IBAN and other properties does not make sense, so this change should not have unexpected side effects. We also update "edit_order" on BankAccount_view so that title properly fallbacks on reference when reference is iban.
-
Jérome Perrin authored
To ease "manual" (ie. not from payment rule simulation) creation of payments, update "create relate payment" so that it suggests the payment mode and the payment date from payment conditions of the invoice's trade condition. See merge request nexedi/erp5!1369
-
- 04 Mar, 2021 9 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Use editor gadget to render the output as raw data. Use the page class to improve xhtml style rendering
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
* enable more elements/attributes * show table cell's border * reduce table width * support align="center" * only use sans-serif font like ckeditor
-
- 03 Mar, 2021 6 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
erp5_ui_test: textarea use an external validator as required prevent submitting
-
Romain Courteaud authored
-
Gabriel Monnerat authored
Avoid propagate empty value to change_state and only set new value if it is in modification_dict
-
Jérome Perrin authored
This introduce a new utility script Invoice_getPaymentDueDate and removes the previous attempts, SaleInvoiceTransaction_getDueDate and TradeCondition_getDueDate that were never used.
-
- 02 Mar, 2021 2 commits
-
-
Ivan Tyagov authored
See merge request nexedi/erp5!1367
-
Jérome Perrin authored
-
- 01 Mar, 2021 2 commits
-
-
Roque authored
-
Roque authored
- Column Version length is extended from 10 to 255 so it can store md5sum's lenght (32 characters) that is needed by data streams created during ebulk tool ingestions used in wendelin. - New column Size is needed to speed up ebulk tool and can generally be useful for DMS, so that we can search/sort document by size.
-
- 26 Feb, 2021 4 commits
-
-
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 !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 4 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.
-
Jérome Perrin authored
The default group of documents attached to accounting transactions can be taken from the group of sections
-