Since Odoo 16 or 17 when you upload an image to the internal notes field a document (attachment) is created (see example 2). If i delete the document, the image will get deleted as well (see example 3).
Here is the example 1. No image, nothing on internal notes, no attachments and no documents:
Here is the example 2. 1 image on internal notes, 1 attachment and 1 document (the image is a red cross):
Here is the example 3. No image on internal notes (but a placeholder instead), no attachments and no documents:
Is there a way to avoid this flow and work as in previous versions where an uploaded image inside a text field would not generate an attachment (and a document)?