Commit Graph
6 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana 424abbcfd0 Do not require result nor type for inactive documents
Otherwise children documents can not be processed because the parent document
raises a RequiredValidationError when saved

Closes #14015
(grafted from e09cd53b9c701ef8da73163e9834d1f3db5a8e37)

--HG--
branch : 7.0
2025-05-12 15:17:26 +02:00
Cédric Krier 2b14c8c6f3 Sanitize attachment filename for incoming document from email
When creating document incoming from email's attachments, the filename value
must be sanitized as there is no control on the data.

Closes #13801
(grafted from 118ace742c074540582f0ff784ccd9edc8926f98)

--HG--
branch : 7.0
2025-01-08 17:35:27 +01:00
Cédric Krier d0de90c5a7 Replace forbidden char of document incoming name by space
When creating document incoming from email, the name value must be sanitized as
there is no control on the data.

Closes #13608
(grafted from f13b4a85401f00893e0a0c7eb1c769cb94622dd2)

--HG--
branch : 7.0
2024-10-19 16:34:36 +02:00
Cédric Krier 30e18860da Use "No Subject" fallback when creating document incoming from email with empty subject
Closes #13606
(grafted from b0926a239b560b2c9dbaa2a9a1d47cf539123fab)

--HG--
branch : 7.0
2024-10-19 15:25:33 +02:00
Cédric Krier 9fed03c6b5 Fix test_document_from_inbound_email of document_incoming
Closes #13319
(grafted from 4162dee47b17edb4e08cecae4d64194030cb270e)

--HG--
branch : 7.0
2024-06-09 17:41:59 +02:00
Cédric Krier f7faf6935c Add document_incoming module 2023-09-14 13:10:41 +02:00