Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Mail attachments

Subscribe

Get notified when there's activity on this post

This question has been flagged
attachmentsmailing
4 Replies
5988 Views
Avatar
Stefan Rundgren

Hi!

We are using Odoo 15 and we have a lot of documents attached to each CRM record (PDFs and zip archives). I can't find a way to send one or more documents via email (Send message) without first having to download them to my computer and then adding them again in the message window as attachments. Surely there must be a way or a plugin to be able to attach files already in the CRM record to a message. It is really an issue for us since many times it is up to 10 attachments that are needed to be sent out. It is such a hassle downloading them just to upload them again in the message.

Does anyone know of a plugin (for v15) or a way do this in the system?

1
Avatar
Discard
Cliff Kujala

Have you tested this?
https://apps.odoo.com/apps/modules/15.0/mail_attach_existing_attachment/

Cliff Kujala

Here is another that might work for you. I have not used either of these though, that is why I am not posting them as an answer, just a suggestion to try.

https://apps.odoo.com/apps/modules/15.0/share_chatter_attachments/

Avatar
Bhavin Patel
Best Answer

In Odoo 15, there is a built-in feature that allows you to attach documents from the CRM record to an email message without having to download them to your computer first. Here are the steps to do this:

Go to the CRM record that contains the documents you want to attach to an email message.

Click on the "Messages" tab to open the message thread.

Click on the "Send a message" button to open the message window.

In the message window, click on the "Add an attachment" button.

In the "Add attachment" dialog, click on the "Record" tab.

Select the CRM record that contains the documents you want to attach.

In the "Documents" tab, select the documents you want to attach to the message.

Click on the "Attach" button to add the selected documents to the message.

Compose your email message as usual and click on the "Send" button to send the message with the attached documents.

By following these steps, you should be able to attach documents from the CRM record to an email message without having to download them to your computer first. This should save you time and effort, especially when dealing with multiple attachments.

2
Avatar
Discard
Avatar
Stefan Rundgren
Author Best Answer

Hi Waymark,

Thanks for your reply. 

Nope, on my computer using either Chrome or Safari it doesn't look like you described it. Clicking either the tiny paperclip symbol or the button "Attach a file" when in full composer view mode displays no such thing as a Record tab. It only displays a normal file selector dialog. I am on a Mac, could this be a macOS thing?

Any ideas?

1
Avatar
Discard
Avatar
JEAN VALENZUELA F
Best Answer

Hello there; I'm facing the same situation. What it worked for me is to create an e-mail  then save it as a template with the attached files; then, any new e-mail used with such template will contain the attached files.

p.s. I'm working on Odoo online v. 17

0
Avatar
Discard
Avatar
Jainesh Shah(Aktiv Software)
Best Answer

Hello Stefan Rundgren,

You’re not able to attach already available documents in email(Send message) cause the widget ‘many2many_binary’ is applied on field “Attachments”.

To achieve your goal you can change or remove the widget ‘many2many_binary’ from field Attachment.

And also you can inherit Email composition wizard as shown in below example to add Attachments field after/below the button ‘Attachments’ and you can select the documents attached to CRM lead/opportunity from that.

Please find code in comment. 

hope this can help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

0
Avatar
Discard
Jainesh Shah(Aktiv Software)

Please find Code here :-

PY:
class MailComposer(models.TransientModel):
_inherit = 'mail.compose.message'

attachment_ids = fields.Many2many(
domain="[('res_model', '=', model), ('res_id', '=', res_id)]"
)

XML:
<record model="ir.ui.view" id="email_compose_attachment">
<field name="name">mail.compose.message.attachment</field>
<field name="model">mail.compose.message</field>
<field name="inherit_id" ref="mail.email_compose_message_wizard_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='attachment_ids']" position="after">
<field name="attachment_ids" widget="many2many_tags" colspan="2" />
</xpath>
</field>
</record>

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
Bug odoo v18 sending abandoned cart x2
mailing
Avatar
0
Jul 25
1851
Attachements
attachments
Avatar
0
Dec 24
2495
How to set attachments to public? Solved
attachments
Avatar
1
Mar 23
7884
Invalid link on Task invitation
mailing
Avatar
0
May 22
2942
How to automatically change name of ir.attachment Solved
attachments
Avatar
Avatar
2
Apr 22
5358
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now