Odoo - distributed business apps
-
Open source ERP and CRM
-
Instead of Odoo, I suggest Flectra:
https://forum.cloudron.io/topic/1403/flectra-erp-and-cms-an-open-source-alternative-do-odoo -
@samir has started packaging this - https://git.cloudron.io/altsyst/odoo-ce-app
-
Great! Somebody is taking action. Fantastic.
But please note @girish @samir - The current work focuses on packaging an old version of Odoo!
For some reason it is being packaged for Odoo version 10.
In that case release a package for all the latest 4 major versions 10, 11, 12 and 13
Latest version (2020) is version 13.
Issue: https://git.cloudron.io/altsyst/odoo-ce-app/issues/1
https://git.cloudron.io/altsyst/odoo-ce-app/issues/1 -
Odoo would be great.
Just adding that there's a de-branded version at Yunohost called LibreERP for interest:
https://forum.yunohost.org/t/libreerp-a-nice-erp-odoo-community-edition-fork/6502
https://github.com/YunoHost-Apps/libreerp_ynh
YMMMV though.
-
Anything we can do to help this? I do feel it would be a very attractive USP for Cloudron as I've not seen a better way to get Odoo CE setup and replicated. I think you'll find is as valuable as Nextcloud for being the best of the bunch in Accounting, CRM & ERP.
-
This would be a great addition to the current app list, something really useful to help bootstrap young entrepreneurs & sme's. can wait to test this out !
last time I ran Odoo was at least some 6 versions ago ! -
IIRC, the main challenge with Odoo was it is more like a framework on which you install apps. This makes it inherently difficult to maintain and package
-
@girish in terms of built-in app updates what is the difference with Nextcloud ?
-
@girish I don't think it'd be much different to Wordpress in that respect, it's just plugins and themes.
-
-
@dcher definitely
-
Having used both. ERPNext is a great idea and everything it says it is - but Odoo is fundamentally different in many ways.
They both have value, it's not an either/or choice and I wouldn't dismiss Odoo because ERPNext claims to be equivalent, it's not.
Plugins, GAP Accounting and Pivot Tables are all unique to Odoo.
It's like comparing Ghost to Wordpress. Similar but also very different.
-
@samir Any progress update on this?
Do you need help?
Did you see my issue mentioned above?
What will it take to roll this out with a newer version?
Would it work to replace the shell script in your Cloudron package with one that points towards Odoo v14?
Here is the script: https://github.com/Yenthe666/InstallScript/blob/14.0/odoo_install.sh@girish Would you know the answer?
-
@makemrproper We are not working on it, no. Maybe @samir is
-
-
@mdreira I've not used Odoo much myself, but the one time I did have a little poke around I found eg their web builder to be very basic with a pretty terrible UX to be honest.
Of course Odoo has loads of other plugins/ features too, but I still think that WordPress + WooCommerce is still prabably the best/ easiest open source option for eCommerce (hence that's why I think over a 1/3 of all eCommerce sites are powered by WooCommerce)
-
@jdaviescoates Odoo is not primarily a website builder for ecommerce to run a webshop. It is a fully fledged ERP with loads of functionality to operate a business. It would be a major value add if Cloudron team would package it and get it onto the Cloudron appstore. It would definitely attract paying Cloudron customers.
-
Latest major version of Odoo Open Source is now v14
"One click" install script by a community contributor: https://github.com/Yenthe666/InstallScript
Edit: Release notes: https://www.youtube.com/watch?v=nkYTXBfIoKI
-
@makemrproper Now the latest stable version is Odoo 15. It was released a few days ago.
-
@gustavomarcante said in Odoo - distributed business apps:
Instead of Odoo, I suggest Flectra:
https://forum.cloudron.io/topic/1403/flectra-erp-and-cms-an-open-source-alternative-do-odooThank you for mentioning Flectra!
-
-
-
chris
-
I've been a longtime user of Odoo community edition, it's the best ERP out there. But setup is always a pain. Having this available on Cloudron would make it worth a business subscription. This one gets my vote!
-
@ww4 Have you looked at Flectra? It is a fork of Odoo and they state their intention is to be more supportive of Freedom.
-
@loudlemur I wasn't aware of it until today, it seems they are a very close fork of Odoo... too close for Odoo's comfort in some cases! Here is the #3 on Google search for "flectra": https://www.odoo.com/page/flectra-vs-odoo-flectrahq-enterprise
At any rate, if Cloudron supports either one it should be possible to support both, as they are so similar.
-
chris
-
chris
-
chris
-
-
-
chris
-
I have packaged Odoo successfully.
Please check out http://github.com/njsubedi/cloudron-odooI had to patch the default Database connection function to prevent Odoo from connecting to the database named “postgres” from different places.
Otherwise, everything is working as expected. Simply clone the repo, and then from inside the repo, run
cloudoron build cloudron install -l <subdomain.yourcloudron.tld>
Please post any error logs or problems here so I can continue to improve it.
Update: somehow LDAP login is failing; need to look into it.
-
nj
-
@nj Oh, this is awesome! Would be great to see someone try this and give some feedback on how well this works.
What do you think is the "status" of the package otherwise?
-
@nj Quick feedback after I invested 60 minutes in Odoo as a Cloudron app:
Instead of an error message, a big
The installation runs smoothly and without any problems. Yes, you are right: LDAP does not work.
Also the typical problems with uploading images or modules, do not exist in your package. Top. -
@nj WOW!! The entire community will be eternally grateful to you for starting this great challenge.
-
@nj The only negative point as far as I can see so far: Your Odoo version is too new
The OCA module shop for version 15 is almost empty.
https://odoo-community.org/shop?version=19 -
@luckow Interesting, why is that? Because people have not ported over to odoo 15?
-
@luckow This is a very good point!
@nj With Odoo, because of the nature of what it is, it makes sense to have separate apps for each whole-number version, because whole-number version updates are quite a big deal in ERP stacks with lots of 3rd-party add-ons to test each time.
Certainly appreciating your time on this, but to make it more likely to be adopted and also attract more Cloudron users with it being a hosting setup option, if you had time, it would make sense to have an App Package for each of the latest 3 whole-number versions, perhaps even more.
People really do get stuck on ERP whole number versions sometimes , when they don't have the available resources to upgrade, they often just don't take the risk if it's not hurting them.
-
@girish yes. Normal for community contributions
The "official" odoo (so called) apps are v15 ready. But there is a module wonderland through community contributions.
This is "official" odoo -> https://www.odoo.com/ with its enterprise and paid plan.
This is odoo community -> https://odoo-community.org with its association and software contribution. -
@luckow I've pushed a fix for LDAP Login. I had to map
cn
todisplayName
, and use a proper LDAP filter. I was able to immediately log in after installing Odoo.However, there are two issues:
1. You have to log in with email and password. When I tried to have it login with both username and email, Odoo was creating two different users - one with the email and another one with the username.
2. Odoo throws a Server Error on the first login for a user from LDAP. From the second time, the error is not raised for the same user. Simply reload the page to "resend" the email/password, or log in again.
I spent some time debugging, but couldn't fix it. Looks like a bug in the record cache system of Odoo. If anyone is interested, I have opened an issue. -
@girish I'd say it is ready to be released as an unstable app. I tried restarting, reinstalling, updating, etc, and everything is working fine. I'm still unsure whether to keep the IMAP settings or remove it, because
recvmail
is mostly deprecated.As other members said, there will be missing out on a lot of community addons but sooner or later they will be updated to support the latest Odoo version.
-
@nj said in Odoo - distributed business apps:
@girish I'd say it is ready to be released as an unstable app. I tried restarting, reinstalling, updating, etc, and everything is working fine. I'm still unsure whether to keep the IMAP settings or remove it, because
recvmail
is mostly deprecated.recvmail
got un-deprecated and is back in the last release. But I wouldn't worry about that part yet since it's not critical to get the app published. I already have your outline app on my TODO list, so I will get to this after that. Thanks! -
@nj If this is made available as a beta app in Cloudron, I will test it and give feedback.
Thank you incredibly for helping make this very powerful Free Software available to a much wider number of users. I think that including Odoo Community Edition on Cloudron will showcase the functionality that Cloudron can deliver. Well done!
If you have managed to make Odoo 15 work, I think both Flectra and LibreERP could be deployed in the same way. LibreERP is based on a much earlier version of Odoo, v11, I think.
This is great news.
-
@girish Odoo hosts events all round the world:
https://www.odoo.com/eventThe flagship event, where the next version of Odoo is introduced, is called Odoo Experience, and is usually around November.
If we have Odoo running well on Cloudron before then, I think Cloudron could greatly boost the number of users by making a presentation at Odoo Experience. Last year, it was an online event, usually it is in-person and in Belgium.
-
@nj just a quick note about your latest improvements: ldap still does not work for me
-
@luckow did you try logging in for the second time? As I have mentioned, first-time login still fails. Also if you could raise an issue on Github with the contents of “/run/logs/odoo.log” as soon as you log in, I can look into it.
-
@nj Everything back to zero. Those who can read have an advantage. .... ! As you wrote: You have to use the mail address (instead of the username). And you have to reload the whole form.
Now it works as described (for me) -
@nj Amazing work !!!
-
@luckow look at https://odoo-community.org/shop?version=19 9 days later! The Odoo-community was busy
-
@luckow How much additional memory is Odoo using?
-
@LoudLemur this is package default:
Memory Limit : 2.5 GBNo idea if this is right or wrong. In my (few) test, the app is responsible.
-
BrutalBirdie
-
Hey,
I'm cross-posting a message sent in the sponsoring odoo topic.
For those interested in Odoo V10 CE, I've just updated my last script here :
https://git.cloudron.io/altsyst/odoo10-ce-appI'm not maintaining it anymore, but it's working well for two years now (working with the ldap cloudron server).
Enjoy
-
@samir Is the install process the same as the other recently shared Odoo?
-
@samir Thank you very much for this. I know you are no longer maintaining this, but is it possible before you leave the project, if it does not take too much time, to incorporate the new script suggested here:
-
@girish Would it be possible to pick up the slack and add Odoo or Flectra in the near future to Cloudron? This would be amazing.
-
-
@LoudLemur The current script is based on the Yenthe666 script, I will publish an odoo12-ce-app very soon. It's pretty easy to adapt the script for odoo13 if you want it, though I've heard (to confirm) that the odoo based on even version are usually more stable than the odd one... I tend to pass the odd version, waiting for the even one.
In my opinion, it makes sense to have separate repo for each odoo version. It's not obvious to update a odoo version, since it requires a special script to update the database (and other stuff...)
-
I've just published the cloudron custom app odoo 12 CE here :
https://git.cloudron.io/altsyst/odoo12-ce-app/ -
For using the cloudron ldap :
- Create first the user in odoo with an empty password
- open the ldap parameters in odoo (as admin, config>settings)
- enter into an odoo terminal and get the cloudron ldap parameters
- fill in the ldap cloudron parameters (ldap server address, binddn, port, password)
- For LDAP base : ou=users,dc=cloudron
- restart odoo app (or cloudron, I don't remember)
-
@samir Attempting from your script, stuck in a loop:
Traceback (most recent call last):
Apr 08 12:52:02 File "/app/code/odoo-server/odoo-bin", line 5, in <module>
Apr 08 12:52:02 import odoo
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/init.py", line 125, in <module>
Apr 08 12:52:02 from . import modules
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/init.py", line 8, in <module>
Apr 08 12:52:02 from . import db, graph, loading, migration, module, registry
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/loading.py", line 17, in <module>
Apr 08 12:52:02 import odoo.modules.migration
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/migration.py", line 12, in <module>
Apr 08 12:52:02 from odoo.modules.module import get_resource_path
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/module.py", line 25, in <module>
Apr 08 12:52:02 from odoo import SUPERUSER_ID, api
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/api.py", line 1198, in <module>
Apr 08 12:52:02 from odoo.modules.registry import Registry
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/modules/registry.py", line 18, in <module>
Apr 08 12:52:02 from odoo.sql_db import TestCursor
Apr 08 12:52:02 File "/app/code/odoo-server/odoo/sql_db.py", line 49, in <module>
Apr 08 12:52:02 import tools
Apr 08 12:52:02 ImportError: No module named 'tools'
Apr 08 12:52:10 => Ensure directories
Apr 08 12:52:10 => Patch config file
Apr 08 12:52:11 => Ensure data ownership -
@doodlemania2 which script? Odoo 10 or odoo 12? Could you fill an issue on git directly to keep track of the issue? Thanks!
-
@samir that was from 12, will do so!
-
@girish Is this ready to be included as an experimental status Cloudron application yet?
-
@LoudLemur I don't think so - at least not yet. Unable to get it to install cleanly on my CR server, but I think it's close.
-
What is the latest on installing Odoo? Is it ready as a Cloudron Beta application yet?
-
@LoudLemur nope.
but it's been working as a custom app on one of my instances for a few weeks. to get an idea of how odoo works and what you need to learn to implement an erp system in your company, it's top. as a reliable critical app for your company (without knowledge about content migration), you should wait until odoo is an official cloudron app. -
@luckow When that day happens, I shall be grinning from ear to ear! I shall probably be jumping up and down in joy too!