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

Not able to "send email" from SO or RFQ. Getting Error. Mail will send from Opportunities.

Subscribe

Get notified when there's activity on this post

This question has been flagged
emailquotationnonetypetemplate
1 Reply
6250 Views
Avatar
Landis Arnold

Getting "none type" is not Iterable in Quotation Email Early nascent setup. Last time I tried to send an email (did so from RFQ mode) all worked well.

Just tried to send a test from Sales/Quotations and get this error:

Server Traceback (most recent call last): File "/opt/openerp/web/addons/web/session.py", line 90, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/opt/openerp/server/openerp/netsvc.py", line 295, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/server/openerp/service/web_services.py", line 614, in dispatch res = fn(db, uid, params) File "/opt/openerp/server/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/opt/openerp/server/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, args, *kwargs) File "/opt/openerp/server/openerp/osv/osv.py", line 198, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/opt/openerp/server/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/opt/openerp/addons/email_template/wizard/mail_compose_message.py", line 85, in onchange_template_id values['attachment_ids'].append(ir_attach_obj.create(cr, uid, data_attach, context=context)) File "/opt/openerp/addons/document/document.py", line 121, in create vals['file_type'], vals['index_content'] = self._index(cr, uid, vals['datas'].decode('base64'), vals.get('datas_fname', False), None) File "/opt/openerp/addons/document/document.py", line 132, in _index mime, icont = cntIndex.doIndex(data, datas_fname, file_type or None, None) TypeError: 'NoneType' object is not iterable

Later I can "press send" and it shows in the OPENERP que but nothing is transporting to my test_gmail account. Will try some non templated mailings next.

0
Avatar
Discard
Landis Arnold
Author

I just did a test with a Sample Data Install. In that situation, though the SMTP outgoing server is not setup, I can get the form to load in "Send Email" for both Quotations and RFQ which I cannot get to load on my site being built. The email forms were loading previously. Varaibles now are that I have products, customers and chart of accounts loaded.

Landis Arnold
Author

I was getting email out on 2-25-13 from this database. The Server is able to email from "sample database". It appears that the issue is in Document or Template creation. I have not done any Template editing. Document Management system I was trying to get working, possibly in that window.

Landis Arnold
Author

Uninstalling "Document Management" and "Knowledge" had no effect.

Landis Arnold
Author

Issue seems to be in parsing the Template. From "opportunities" I found I could send an email. Also, from Quotation, If I choose "send by email". I get the error then go further. If I add an address (as was automatically added on Opportunity email) an email is sent, but with no Template message and no attachment.

Landis Arnold
Author

Pulled full new sets of server/addons/web. But still same result. Will see if anything can be made of Document Management or Remove it, but I tried this earlier.

Avatar
Landis Arnold
Author Best Answer

Had to Create a New DataBase, bring in the needed Modules and import previous Data. Working now. I don't know what was causing the error but time to move on. Was likely a very small entry somewhere in the Database.

What was known is that it is possible to get a new system going if you are not "too far" down the road. I would hate to do the same with a years worth of Orders, Invoices, Manufacturing, Projects, Notes, HR and the like.

Daily Backups and conservative Admin and Module usage seems a good part of the approach.

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
Quotation templates:add SO-lines instead of replace SO lines
quotation template
Avatar
0
Apr 24
2022
Add company logo to template email, odoo 15
email template
Avatar
Avatar
Avatar
2
Jan 24
5303
Problem with email template (SOLVED) Solved
email template
Avatar
Avatar
2
Jan 24
11082
How to configured ? Please guide Solved
quotation template
Avatar
Avatar
Avatar
2
Apr 23
2620
How to use IF ELSE (conditional clause) in email template
email template
Avatar
Avatar
1
Mar 21
10503
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