Skip to content

Conversation

@Callum027
Copy link
Collaborator

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.

@Callum027 Callum027 self-assigned this Nov 12, 2025
Base automatically changed from callum/add-update-method to main November 12, 2025 04:27
@Callum027 Callum027 force-pushed the callum/add-attachment-support branch from 025f474 to e06799b Compare November 12, 2025 04:34
@Callum027 Callum027 force-pushed the callum/add-attachment-support branch from e06799b to 94d4669 Compare November 12, 2025 05:07
@Callum027 Callum027 changed the base branch from main to callum/field-fixes November 12, 2025 05:07
@Callum027 Callum027 force-pushed the callum/add-attachment-support branch 2 times, most recently from b803591 to 72e70f9 Compare November 12, 2025 05:31
@Callum027 Callum027 force-pushed the callum/field-fixes branch 3 times, most recently from 156a8e8 to 796b544 Compare December 10, 2025 21:14
Base automatically changed from callum/field-fixes to main December 11, 2025 18:22
@Callum027 Callum027 changed the base branch from main to callum/use-mixins December 14, 2025 18:46
@Callum027 Callum027 force-pushed the callum/add-attachment-support branch from 72e70f9 to 07550b2 Compare December 14, 2025 20:15
@Callum027 Callum027 force-pushed the callum/use-mixins branch 2 times, most recently from dd19e6d to 65c580f Compare December 14, 2025 20:56
@Callum027 Callum027 force-pushed the callum/add-attachment-support branch 2 times, most recently from 2de3901 to f778524 Compare December 14, 2025 21:18
@Callum027 Callum027 force-pushed the callum/add-attachment-support branch from f778524 to 60ff6fa Compare December 15, 2025 01:44
@Callum027 Callum027 force-pushed the callum/use-mixins branch 2 times, most recently from f9cb504 to e38d6b0 Compare December 15, 2025 22:36
@Callum027 Callum027 force-pushed the callum/add-attachment-support branch from 60ff6fa to 8c2be27 Compare December 15, 2025 22:38
Base automatically changed from callum/use-mixins to main December 15, 2025 22:43
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.
@Callum027 Callum027 force-pushed the callum/add-attachment-support branch from 8c2be27 to 6687f46 Compare December 15, 2025 22:46
@Callum027 Callum027 marked this pull request as ready for review December 15, 2025 22:46
@adrianjarvis adrianjarvis merged commit 217a881 into main Dec 16, 2025
11 checks passed
@Callum027 Callum027 deleted the callum/add-attachment-support branch December 16, 2025 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants