Syncing from upstream OCA/storage (18.0)#369
Merged
Merged
Conversation
For the case of private files stored externally it might be necessary to view the file via Odoo directly because you can avoid to setup a private CDN with complex authentication (eg: token, vpn, etc). In this way, the files can be proxied by the controller.
So far the backend was added only auto-magically on media or image creation. However, this is a partial behavior and since the backend is not editable you cannot decide where to put your file if not via global conf. This chance allows to edit the backend while still pre-loading the default one.
Provide data so that the URL is generated properly.
* group by backend * search by public/private
* group by backend * search by public/privte
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: storage-18.0/storage-18.0-storage_media_product Translate-URL: https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-storage_media_product/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: storage-18.0/storage-18.0-storage_thumbnail Translate-URL: https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-storage_thumbnail/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: storage-18.0/storage-18.0-storage_image Translate-URL: https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-storage_image/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: storage-18.0/storage-18.0-storage_image_product Translate-URL: https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-storage_image_product/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: storage-18.0/storage-18.0-storage_media Translate-URL: https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-storage_media/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: storage-18.0/storage-18.0-storage_file Translate-URL: https://translation.odoo-community.org/projects/storage-18-0/storage-18-0-storage_file/
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 18.0 #369 +/- ##
==========================================
+ Coverage 87.13% 87.47% +0.33%
==========================================
Files 197 201 +4
Lines 6686 6856 +170
Branches 564 567 +3
==========================================
+ Hits 5826 5997 +171
+ Misses 667 665 -2
- Partials 193 194 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bt_gitbot