-
Notifications
You must be signed in to change notification settings - Fork 0
Add support for managing attachments #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
025f474 to
e06799b
Compare
Callum027
commented
Nov 12, 2025
e06799b to
94d4669
Compare
53ae17d to
ba2bdb8
Compare
b803591 to
72e70f9
Compare
156a8e8 to
796b544
Compare
72e70f9 to
07550b2
Compare
dd19e6d to
65c580f
Compare
2de3901 to
f778524
Compare
65c580f to
1f1b2b5
Compare
f778524 to
60ff6fa
Compare
f9cb504 to
e38d6b0
Compare
60ff6fa to
8c2be27
Compare
Add a new manager for attachment records (`ir.attachment`) in Odoo. These are intended to be used for uploading/downloading attachments to/from invoices. Invoice attachments will then be attached to invoice emails sent out to customers. The contents of the attachments won't be fetched when querying them from Odoo by default; instead it is intended that the separate `download` method be used to download the attachment contents separately. An `upload` method is also available, to provide an easier to use interface for uploading attachments.
8c2be27 to
6687f46
Compare
adrianjarvis
approved these changes
Dec 16, 2025
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.
Add a new manager for attachment records (
ir.attachment) in Odoo.These are intended to be used for uploading/downloading attachments to/from invoices. Invoice attachments will then be attached to invoice emails sent out to customers.
The contents of the attachments won't be fetched when querying them from Odoo by default; instead it is intended that the separate
downloadmethod be used to download the attachment contents separately. Anuploadmethod is also available, to provide an easier to use interface for uploading attachments.