d555fdac0c089a3d99497376e818f58c7e38d59c
Direct type comparison is significantly faster than isinstance/issubclass calls, so it is worth using in a method that is very frequently called. The extra call to getencoding() also causes a significant overhead, so we try to spare it by tring the hint_encoding first. If all fails, the default behavior still applies. Using micro-benchmarks, the execution time of ustr() on an already-unicode string is cut in half (no conversion is needed), and the overhead for converting utf-8 bytestrings is also cut in half (the conversion itself is O(n) on the string length, obviously)
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/master/odoo.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./odoo.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./odoo.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%