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

Compose email form fails to display: mail.compose.message.form (Odoo 14)

Subscribe

Get notified when there's activity on this post

This question has been flagged
v14mail.compose
1 Reply
4448 Views
Avatar
Anthony Nelson

For both the Quote and Requests for Quotation workflows, after pressing the [Send by Email] button, instead of presenting the mail.compose.message.form Odoo appears to hang, displaying...

Loading...
Still loading...
Still loading...Please be patient.
...etc....

...and eventually it times out, and returns to the same quotation screen.

I don't think it is an Inbound or Outbound email servers problem as both pass connection tests and emails to customers for eCommerce abandoned carts are successfully sent.

If I open a previous email under Settings / Technical / Emails, for example a "You left items in your cart!", and click [Reply] the mail.compose.message.form is displayed and the email is able to be sent and is successfully received.

However there does look to be some kind of permission problem as I can't open up previous "Your Odoo Periodic Digest" emails that failed prior to getting the Inbound or Outbound email servers setup properly.

Odoo 14 was originally installed via the nightly repository as per the below article onto Ubuntu 20.04 LTS (Focal)
https://www.odoo.com/documentation/14.0/administration/install/install.html#repository

A refresh / upgrade of the repository has been performed. Maybe that broke it? i.e...

sudo apt-get update
sudo apt-get upgrade -y

Kind regards,
Anthony

0
Avatar
Discard
Anthony Nelson
Author

My test system, built the same way, and has had the repository refreshed / upgraded and the mail.compose.message.form is displayed for Quote and Request for quotation. The test system does also error when trying to open old failed emails.

Anthony Nelson
Author

I've done a quick compare between all the XML and PY files between the two servers and all Odoo files are the same size and owner etc. The working server is on Hyper-V and the failing server is in Azure based on the focal-server-cloudimg-amd64-azure.vhd.zip file from here...
https://cloud-images.ubuntu.com/focal/current

Anthony Nelson
Author

Not sure what to check next?

It's not a nginx issue, as the problem is still present if I revert back to default 8069 port etc.

Anthony Nelson
Author

The mail.compose.message.form presents fine, on a fresh install of Odoo on a new Azure VM.

How does one perform a re-installation of the Odoo Sales App on a broken system?

Avatar
Anthony Nelson
Author Best Answer

A good exercise in problem investigation. The Odoo log file was showing a delay and time out error when trying to complete the PDF creation of the PDF quote.  So not an email compose problem at all..

odoo.addons.base.models.ir_actions_report: wkhtmltopdf: b'Exit with code 1 due to network error: TimeoutError\n'

...which lead me to this helpful article...

https://github.com/odoo/docker/issues/238

...and then...

https://www.odoo.com/forum/help-1/how-to-change-the-value-of-web-base-url-to-get-the-correct-header-footer-css-82516

...which resolved the problem.

However, I was thinking why was this needed when my other VM was ok and didn't need it.

After re-checking the network configuration of the VM, there was an incorrect configuration that was corrected, solving the  problem!

Cheers,

Anthony

0
Avatar
Discard
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
Attached PDF file is not formatted properly
v14
Avatar
Avatar
1
Dec 25
389
Odoo14 alternative for Automated Translations through Gengo API module
v14
Avatar
Avatar
Avatar
Avatar
3
Sep 25
3814
Odoo Community v14 Slow on High-End Servers, Fast on i5/i7 PCs
v14
Avatar
0
Aug 25
1221
How to Managing Birthdate and Age in Odoo
v14
Avatar
Avatar
1
Aug 25
3622
Update Initial Stock of Product using XMLRPC API [Odoo14] Solved
v14
Avatar
Avatar
Avatar
2
Jul 25
9244
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