36
Anyone had a look at Odoo yet?
(lemmy.world)
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Community icon from opensource.org, but we are not affiliated with them.
I’ve been developing on odoo for a couple of years for a project at work. The docs are horrible, especially for anything on the JS side of the house. Making relatively minor UI changes that are trivial with other frameworks become days long exercises in frustration. I can’t tell you how many unintelligible YouTube videos from Indian programming shops I had to watch just to do a simple task like add a modal dialogue.
I get the feeling they started the project in 2004 and decided to build a web app. While the rest of the Python and JS ecosystem matured in other directions, odoo just kept doing whatever the fuck they wanted. The whole thing is a nightmare of esoteric XML dialects that are somehow mapped by the engine into a database transaction when the thing boots up.
When I work on it, I tell my wife I am doing the “odoo doodoo”.
Venting again. The thing that pisses me off the most is how odoo refuses to adopt common practice and instead implements their own stuff:
Need an ORM? Well don’t expect odoo to use a battle tested and widely used library. Odoo implements its own, but good luck figuring out how to optimize a query.
Want a framework like React? Nope, we’ve got Owl — but only sometimes.
Want templates? Odoo uses its own XML dialect. That’s not really documented. Oh and XML is also the configuration language. Oh and about 40% of your codebase will be xml files with magic strings that at runtime magically call a python function. Because fuck you.
Hahaha... This is pretty much spot on about the whole back end
Daaaamn. I'm out. Thank you for this
Welp, defo good insights you're sharing - thanks 👍
I hate that kind of not-invented-here syndrome. The project I am helping develop is partly open source and has its own server-side framework, its own ORM and its own typescript based framework. Community-wise we are dead in the water, because nobody wants to adopt to the own frameworks.
Incidentially, I used OpenERP5, which is an early predecessor of Odoo. I hated the interface with every fiber of my being. Due to some custom development, we were not able to upgrade to more modern versions.