odoo/odoo#232015

Created by fw-bot
Merged at a1f691475ac92e3e5550a454820387e4e40fab44

Statuses:

label
odoo-dev:saas-18.3-18.0-cloud_storage-avoid-upload-documents-cwg-471106-fw
head
99fcfa2d77fa4743d3d3e294cf88e70963a6e0b2
merged
10 months ago by Framework (ORM), Chong Wang (cwg)
odoo/odoo
18.0 #231628
saas-18.2 #232007
saas-18.3 #232015
saas-18.4 #232020
19.0 #232028
saas-19.1
saas-19.2
saas-19.3
saas-19.4
master #232033

[FIX] cloud_storage: avoid uploading document attachments to the cloud

Some models' attachments will automatically become document attachments which may be used in business code of documents. This commit avoids uploading these attachments to the cloud storage.

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #231628