In an environment where multiple database are available the company_logo controller in the web module will return a placeholder logo (the Odoo logo) if it can't figure out what db the request belongs to. This logo is used on the ESC/POS receipts. Because we load the logo with an anonymous CORS request there is no authentication on the request. This is necessary because the POS tends to not be served over HTTPS whereas the rest of Odoo is. Without this crossOrigin attribute we could potentially end up in a situation where the canvas is considered tainted by the browser which would prevent us from extracting the canvas' data with toDataURL(). So removing the crossOrigin attribute is not an option, specifying the db is the next best thing. opw-670471 note: in >=9.0 session is a variable defined in the js module instead of a property on PosModel, so 'self.session.db' should become 'session.db'. |
||
---|---|---|
.tx | ||
addons | ||
debian | ||
doc | ||
openerp | ||
setup | ||
.gitignore | ||
.mailmap | ||
CONTRIBUTING.md | ||
LICENSE | ||
MANIFEST.in | ||
Makefile | ||
README.md | ||
odoo.py | ||
openerp-gevent | ||
openerp-server | ||
openerp-wsgi.py | ||
requirements.txt | ||
setup.cfg | ||
setup.py |
README.md
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/8.0/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