33< head >
44< meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 " />
55< meta name ="generator " content ="Docutils: https://docutils.sourceforge.io/ " />
6- < title > Mail Attach Existing Attachment </ title >
6+ < title > README.rst </ title >
77< style type ="text/css ">
88
99/*
1010:Author: David Goodger (goodger@python.org)
11- :Id: $Id: html4css1.css 8954 2022 -01-20 10:10:25Z milde $
11+ :Id: $Id: html4css1.css 9511 2024 -01-13 09:50:07Z milde $
1212:Copyright: This stylesheet has been placed in the public domain.
1313
1414Default cascading style sheet for the HTML output of Docutils.
15+ Despite the name, some widely supported CSS2 features are used.
1516
1617See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1718customize this style sheet.
274275 margin-left : 2em ;
275276 margin-right : 2em }
276277
277- pre .code .ln { color : grey ; } /* line numbers */
278+ pre .code .ln { color : gray ; } /* line numbers */
278279pre .code , code { background-color : # eeeeee }
279280pre .code .comment , code .comment { color : # 5C6576 }
280281pre .code .keyword , code .keyword { color : # 3B0D06 ; font-weight : bold }
300301span .pre {
301302 white-space : pre }
302303
303- span .problematic {
304+ span .problematic , pre . problematic {
304305 color : red }
305306
306307span .section-subtitle {
359360</ style >
360361</ head >
361362< body >
362- < div class ="document " id ="mail-attach-existing-attachment ">
363- < h1 class ="title "> Mail Attach Existing Attachment</ h1 >
363+ < div class ="document ">
364364
365+
366+ < a class ="reference external image-reference " href ="https://odoo-community.org/get-involved?utm_source=readme ">
367+ < img alt ="Odoo Community Association " src ="https://odoo-community.org/readme-banner-image " />
368+ </ a >
369+ < div class ="section " id ="mail-attach-existing-attachment ">
370+ < h1 > Mail Attach Existing Attachment</ h1 >
365371<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
366372!! This file is generated by oca-gen-addon-readme !!
367373!! changes will be overwritten. !!
368374!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369375!! source digest: sha256:ac2a9aa40b0d4a582c625061abbe71035a0b6c6421af29465d20d9e51dcfbda3
370376!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371- < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/licence-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/social/tree/16.0/mail_attach_existing_attachment "> < img alt ="OCA/social " src ="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_attach_existing_attachment "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
372- < p > This module was written to add the possibility to add attachments located on
373- the object by sending it by email with the mail compose message wizard</ p >
377+ < p > < a class ="reference external image-reference " href ="https://odoo-community.org/page/development-status "> < img alt ="Beta " src ="https://img.shields.io/badge/maturity-Beta-yellow.png " /> </ a > < a class ="reference external image-reference " href ="http://www.gnu.org/licenses/agpl-3.0-standalone.html "> < img alt ="License: AGPL-3 " src ="https://img.shields.io/badge/license-AGPL--3-blue.png " /> </ a > < a class ="reference external image-reference " href ="https://github.com/OCA/social/tree/16.0/mail_attach_existing_attachment "> < img alt ="OCA/social " src ="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github " /> </ a > < a class ="reference external image-reference " href ="https://translation.odoo-community.org/projects/social-16-0/social-16-0-mail_attach_existing_attachment "> < img alt ="Translate me on Weblate " src ="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png " /> </ a > < a class ="reference external image-reference " href ="https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=16.0 "> < img alt ="Try me on Runboat " src ="https://img.shields.io/badge/runboat-Try%20me-875A7B.png " /> </ a > </ p >
378+ < p > This module extends the mail compose message wizard to allow selecting
379+ existing attachments when sending an email.</ p >
380+ < p > It provides two attachment selection mechanisms:</ p >
381+ < ul class ="simple ">
382+ < li > Object Attachments — attachments linked to the current record.</ li >
383+ < li > Model Attachments — attachments linked to other records of the same model.</ li >
384+ </ ul >
385+ < p > This makes it possible to reuse documents already stored on other
386+ records of the same model without re-uploading them.</ p >
374387< p > < strong > Table of contents</ strong > </ p >
375388< div class ="contents local topic " id ="contents ">
376389< ul class ="simple ">
@@ -386,7 +399,7 @@ <h1 class="title">Mail Attach Existing Attachment</h1>
386399</ ul >
387400</ div >
388401< div class ="section " id ="usage ">
389- < h1 > < a class ="toc-backref " href ="#toc-entry-1 "> Usage</ a > </ h1 >
402+ < h2 > < a class ="toc-backref " href ="#toc-entry-1 "> Usage</ a > </ h2 >
390403< p > To use this module, you need to:</ p >
391404< ul class ="simple ">
392405< li > Add some attachments on an object by creating a new < em > Log note</ em > </ li >
@@ -395,37 +408,44 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
395408< img alt ="Attachment on purchase order " src ="https://raw.githubusercontent.com/OCA/social/16.0/mail_attach_existing_attachment/static/description/attachment.png " />
396409</ div >
397410< ul class ="simple ">
398- < li > Then, by sending the object via email, you can select the attachment added earlier</ li >
411+ < li > Optionally, add attachments on other records of the same model
412+ (for example, on another Purchase Order or Partner record).</ li >
413+ < li > Then, by sending the object via email, you can:< ul >
414+ < li > Select attachments linked to the current object.</ li >
415+ < li > Select attachments linked to other records of the same model.</ li >
416+ </ ul >
417+ </ li >
399418</ ul >
400419< div class ="figure ">
401420< img alt ="Sends the Purchase Order by email " src ="https://raw.githubusercontent.com/OCA/social/16.0/mail_attach_existing_attachment/static/description/ex_mail_compose_message.png " />
402421</ div >
403422</ div >
404423< div class ="section " id ="known-issues-roadmap ">
405- < h1 > < a class ="toc-backref " href ="#toc-entry-2 "> Known issues / Roadmap</ a > </ h1 >
424+ < h2 > < a class ="toc-backref " href ="#toc-entry-2 "> Known issues / Roadmap</ a > </ h2 >
406425< ul class ="simple ">
407- < li > The module only allows the addition of attachments linked to the object .</ li >
426+ < li > Model attachments are filtered by model but not further restricted .</ li >
408427</ ul >
409428</ div >
410429< div class ="section " id ="bug-tracker ">
411- < h1 > < a class ="toc-backref " href ="#toc-entry-3 "> Bug Tracker</ a > </ h1 >
430+ < h2 > < a class ="toc-backref " href ="#toc-entry-3 "> Bug Tracker</ a > </ h2 >
412431< p > Bugs are tracked on < a class ="reference external " href ="https://github.com/OCA/social/issues "> GitHub Issues</ a > .
413432In case of trouble, please check there if your issue has already been reported.
414433If you spotted it first, help us to smash it by providing a detailed and welcomed
415434< a class ="reference external " href ="https://github.com/OCA/social/issues/new?body=module:%20mail_attach_existing_attachment%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** "> feedback</ a > .</ p >
416435< p > Do not contact contributors directly about support or help with technical issues.</ p >
417436</ div >
418437< div class ="section " id ="credits ">
419- < h1 > < a class ="toc-backref " href ="#toc-entry-4 "> Credits</ a > </ h1 >
438+ < h2 > < a class ="toc-backref " href ="#toc-entry-4 "> Credits</ a > </ h2 >
420439< div class ="section " id ="authors ">
421- < h2 > < a class ="toc-backref " href ="#toc-entry-5 "> Authors</ a > </ h2 >
440+ < h3 > < a class ="toc-backref " href ="#toc-entry-5 "> Authors</ a > </ h3 >
422441< ul class ="simple ">
423442< li > ACSONE SA/NV</ li >
424443< li > Tecnativa</ li >
444+ < li > Therp BV</ li >
425445</ ul >
426446</ div >
427447< div class ="section " id ="contributors ">
428- < h2 > < a class ="toc-backref " href ="#toc-entry-6 "> Contributors</ a > </ h2 >
448+ < h3 > < a class ="toc-backref " href ="#toc-entry-6 "> Contributors</ a > </ h3 >
429449< ul class ="simple ">
430450< li > Adrien Peiffer << a class ="reference external " href ="mailto:adrien.peiffer@acsone.eu "> adrien.peiffer@acsone.eu</ a > ></ li >
431451< li > Benoit Aimont << a class ="reference external " href ="mailto:benoit.aimont@acsone.eu "> benoit.aimont@acsone.eu</ a > ></ li >
@@ -434,12 +454,18 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
434454< li > Ernesto Tejeda</ li >
435455</ ul >
436456</ li >
457+ < li > < a class ="reference external " href ="https://www.therp.nl "> Therp BV</ a > :< ul >
458+ < li > Nikos Tsirintanis << a class ="reference external " href ="mailto:ntsirintanis@therp.nl "> ntsirintanis@therp.nl</ a > ></ li >
459+ </ ul >
460+ </ li >
437461</ ul >
438462</ div >
439463< div class ="section " id ="maintainers ">
440- < h2 > < a class ="toc-backref " href ="#toc-entry-7 "> Maintainers</ a > </ h2 >
464+ < h3 > < a class ="toc-backref " href ="#toc-entry-7 "> Maintainers</ a > </ h3 >
441465< p > This module is maintained by the OCA.</ p >
442- < a class ="reference external image-reference " href ="https://odoo-community.org "> < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " /> </ a >
466+ < a class ="reference external image-reference " href ="https://odoo-community.org ">
467+ < img alt ="Odoo Community Association " src ="https://odoo-community.org/logo.png " />
468+ </ a >
443469< p > OCA, or the Odoo Community Association, is a nonprofit organization whose
444470mission is to support the collaborative development of Odoo features and
445471promote its widespread use.</ p >
@@ -448,5 +474,6 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
448474</ div >
449475</ div >
450476</ div >
477+ </ div >
451478</ body >
452479</ html >
0 commit comments