top | item 46485844

(no title)

number6 | 1 month ago

How close is Odoo to the Django Stack? In my mind, since both are python, I always thought it was some kind of Django fork,l. I bet I am wrong. So how came Odoo into being?

discuss

order

pinky07|1 month ago

It's not a fork of Django, even thought the stack has similarities: Python, ORM on top of Postgresql, Modules. We use werkzeug (it's been a long time I checked Django, not sure they are on it too), but the rest of the stack is Odoo's own framework: ORM, Templating (QWeb), API, etc.

But it's not comparable to Django:

- Odoo is built for management application: think CRM, Accounting, Project Management, ... a strong backend

- Django is often used as a framework, Odoo for end-users apps (even though our framework is super advanced)

- Odoo has a CMS (website builder) too but with a focus on being end-user friendly, like Wix, or Squarespace but for businesses (eCommerce, Jobs, Events, ...)

- the javascript client of Odoo is huge whereas Django is minimal

- Odoo has it's own ORM optimized for speed and complexity of an ERP

- templating engine based on XML rather than inline python instructions

Here is a 2 minutes overview: https://www.youtube.com/watch?v=nbso3NVz3p8

abysmal|1 month ago

If you were building Odoo for the first time today would you still choose python? Would you use it the same way?