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

Custom Module can't be installed on Odoo 17

Subscribe

Get notified when there's activity on this post

This question has been flagged
v17
9 Replies
21550 Views
Avatar
Salim Hlayel

Hi,

When trying to install my custom module after installing Odoo 17 Enterprise I get the following error:


Invalid Operation

Connection to https://apps.odoo.com failed, the module estate cannot be downloaded.


I tried to create a simple dummy module to test and the same issue is there.


Can you please help?

Regards,

Salim

3
Avatar
Discard
sonhd

I got the same error, it's said

Invalid Operation
The module <module_name> cannot be downloaded

Salim Hlayel
Author

Adding adding 'module_type': 'official' to the manifest didn't help in my case. Where did you find that information?

Resita Sri Wahyuni

I just realized that the kanban view have 2 different "Activate" button(hence calling different function) for official and 'non-official' module.
The error happen when the button call 'button_immediate_install_app", and it tries to download the module from somewhere. The desired function is "button_immediate_install", so the other way to solve it is by changing the kanban view on app list, to make it call the correct function.

eduFeather

thank you Lizard Touch,
for me, kanban view on app list is giving error. I changed to list view , then activate the module, it works..!

Avatar
Resita Sri Wahyuni
Best Answer

I solved this by adding 'module_type': 'official' on the manifest file(which kinda strange way to solve it). Not sure on how to correctly do it tho.

0
Avatar
Discard
sonhd

Cool, It's worked

Luiz Fernando Mendonca

Yes, this works - in fact, it is the correct solution.
Unfortunatelly Odoo doesn't always "pick up" the latest info from the manifest (especially if the module existed before), so it can be a pain to get Odoo to make use of this option...
The fact that they made the "non-official" (!?!?) the default behavior is baffling.

Avatar
Charles Edouard TOUTAIN
Best Answer

You can otherwise go through the view list

2
Avatar
Discard
Colin Worf

this solved it for me, why? no idea.

Avatar
michael.adane.seyoum@gmail.com
Best Answer

thanks, so much the activate button on the list view also worked for me. 

0
Avatar
Discard
Avatar
Jesus Fernando Torres Hernandez
Best Answer

Try to check if there are some views or templates with  <?xml version="1.0" encoding="utf-8"?> it happened to me and I removed them and I can install the custom module

0
Avatar
Discard
Avatar
Luiz Fernando Mendonca
Best Answer

The module type setting in the manifest does work:

'module_type': 'official'

But it is somehow not 100%, every now and then the problem seems to "come back"; which is weird... looking at the source code, it should really just work like this.

Anyway, it was just a choice from Odoo to add this - this seems to be the "settings" to differentiate industry modules, but for some crazy reason, they decided to make it default to fetch module info from the remote site (eg. industry module) instead of the other way around - and used a very strange term for it too... "official"  makes it sound like it came from Odoo.

Basically the activate/upgrade button on modules is replaced with the remote install button when the module type is not "official":
https://github.com/odoo/odoo/commit/234590f3db5b9e8518bf476e34591f5ab504328b
https://github.com/odoo/odoo/pull/140245

0
Avatar
Discard
Avatar
Mahmoud Salama
Best Answer

Hi

i tried solution of module official but dos'nt work


so my solution is

in pycharm configuration add -i module name

it will install

0
Avatar
Discard
Avatar
RR
Best Answer

not work. 


'module_type': 'official'


also not helpful 

0
Avatar
Discard
Avatar
TALAICHE Abdelmalek
Best Answer

it's work for me thank you

0
Avatar
Discard
Avatar
sonhd
Best Answer

I solved this issue.

Currently, Odoo17 kinda new and have a lot of changes recently. You can update code base and upgrade on a newly created database

0
Avatar
Discard
Jenish M

@sonhd i have the same issue
Invalid operation :The module ten10_report cannot be downloaded
How to slove this
Note: In my local there is no problem but in my server it gives this error

sonhd

@Jenish M
You can try this first:

Update to the newest Odoo 17 codebase.
Upgrade with `-i base` on the newly created database.
If that doesn't work, add this key-value pair into __manifest__.py:
{
...
'module_type': 'official' ,
..
}

Then upgrade the module and try to reinstall it.

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
Ya es posible hacer Upgrade de v17 a v17.1 ?
v17
Avatar
Avatar
1
Oct 25
1427
How to add a new Many2one field in res.config.settings? Solved
v17
Avatar
Avatar
Avatar
Avatar
4
Oct 25
3997
Add field to ALL models in Odoo
v17
Avatar
Avatar
Avatar
2
Sep 25
2607
How to disable Email notification - You have been assigned to Solved
v17
Avatar
Avatar
Avatar
Avatar
4
Sep 25
8121
Selection Field Options Disappear from Database (PostgreSQL enum) on Module Upgrade
v17
Avatar
0
Aug 25
1382
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